~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to Documentation/vm/hwpoison.txt

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
of the memcg.
130
130
 
131
131
Example:
132
 
        mkdir /cgroup/hwpoison
 
132
        mkdir /sys/fs/cgroup/mem/hwpoison
133
133
 
134
134
        usemem -m 100 -s 1000 &
135
 
        echo `jobs -p` > /cgroup/hwpoison/tasks
 
135
        echo `jobs -p` > /sys/fs/cgroup/mem/hwpoison/tasks
136
136
 
137
 
        memcg_ino=$(ls -id /cgroup/hwpoison | cut -f1 -d' ')
 
137
        memcg_ino=$(ls -id /sys/fs/cgroup/mem/hwpoison | cut -f1 -d' ')
138
138
        echo $memcg_ino > /debug/hwpoison/corrupt-filter-memcg
139
139
 
140
140
        page-types -p `pidof init`   --hwpoison  # shall do nothing