Subrata Modak wrote: > Hi Li, > > On Tue, Aug 26, 2008 at 6:43 AM, Li Zefan <[EMAIL PROTECTED]> wrote: > >> Subrata Modak wrote: >>> Li, >>> >>> I am not sure about a discussion on LTP mailing list regarding CPUSETS >>> test cases. Somebody submitted the attached test case, and i was waiting >>> for others to take this into consideration while writing the new CPUSETS >>> tests. >>> >> We've taken this into consideration when Paul Jackson sent it out. > > > Thanks. Good to know that. > > >> >>> If somebody has already taken this initiative, i would like to point out >>> to also consider testing the sched, cpuset: customize sched domains, >>> that went in 2.6.26. >>> >> We've considered to test this new feature in cpuset, but we may fail to >> test it in userspace. > > > That should be OK. You can test this through a module, and then load/unload > a module through a script. The same script can continue to do other CPUSET > testing prior/post loading of this module. > As you may have noticed that we are also discussing the possibility of > writing kernel modules for In-Kernel API testing, so this can be an > oppurtunity for you as well to propose a template for the same. You can see > that discussion happening here: > http://marc.info/?l=ltp-list&m=121923563304945&w=2, > http://marc.info/?l=ltp-list&m=121906903617440&w=2, >
But we are not testing In-kernel API. In-kernel API means exported functions through EXPORT_SYMBOL ? The problem is, the scheduler migrates tasks in 2 ways: periodic load balance on tick, and at time of some schedule events. The new feature affects the latter, so though the feature is used, a task may still migrate to any cpu in the system. > Meanwhile, i am also eager to know whether you would also be testing one > more feature that went in 2.6.26: > Cpuset hardwall flag: add a mem_hardwall flag to cpusets, > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=786083667e0ced85ce17c4c0b6c57a9f47c5b9f2 > , > It's in out test plan, so we'll try or put it in the TODO list ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
