lkml.org 
[lkml]   [2008]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/6] cpuset: convert to new cpumask API
This patchset converts cpuset to use new cpumask API, and thus
remove on stack cpumask_t to reduce stack usage.

Before:
# cat kernel/cpuset.c include/linux/cpuset.h | grep -c cpumask_t
21
After:
# cat kernel/cpuset.c include/linux/cpuset.h | grep -c cpumask_t
0

The patchset is based on mmotm 2008-12-30-16-05.

[PATCH 1/6] cpuset: remove on stack cpumask_t in cpuset_sprintf_cpulist()
[PATCH 2/6] cpuset: remove on stack cpumask_t in cpuset_can_attach()
[PATCH 3/6] cpuset: convert cpuset_attach() to use cpumask_var_t
[PATCH 4/6] cpuset: don't allocate trial cpuset on stack
[PATCH 5/6] cpuset: convert cpuset->cpus_allowed to cpumask_var_t
[PATCH 6/6] cpuset: remove remaining pointers to cpumask_t
---
include/linux/cpuset.h | 10 +
kernel/cpuset.c | 279 ++++++++++++++++++++++++++++-------------------
3 files changed, 174 insertions(+), 115 deletions(-)




\
 
 \ /
  Last update: 2008-12-31 09:39    [W:1.007 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site