On Tue, 17 Jun 2008 18:03:14 +0900, KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
Yes.
I made 2 cpuset directories, run some processes in each cpusets,
and run a script like below infinitely to move tasks and migrate pages.
---
#!/bin/bash
G1=$1
G2=$2
move_task()
{
for pid in $1
do
echo $pid >$2/tasks 2>/dev/null
done
}
G1_TASK=`cat ${G1}/tasks`
G2_TASK=`cat ${G2}/tasks`
move_task "${G1_TASK}" ${G2} &
move_task "${G2_TASK}" ${G1} &
wait
---
I got this bad_page after running this script for about 600 times.
Thanks,
Daisuke Nishimura.
--