17 Jul, 2010
1 commit
-
As of commit dcce284 ("mm: Extend gfp masking to the page
allocator") and commit 7e85ee0 ("slab,slub: don't enable
interrupts during early boot"), the slab allocator makes
sure we don't attempt to sleep during boot.Therefore, remove bootmem special cases from the scheduler
and use plain GFP_KERNEL instead.Signed-off-by: Pekka Enberg
Cc: Peter Zijlstra
LKML-Reference:
Signed-off-by: Ingo Molnar
15 Dec, 2009
1 commit
-
Convert locks which cannot be sleeping locks in preempt-rt to
raw_spinlocks.Signed-off-by: Thomas Gleixner
Acked-by: Peter Zijlstra
Acked-by: Ingo Molnar
30 Mar, 2009
1 commit
-
Impact: cleanup
struct cpumask is nicer, and we use it to make where we've made code
safe for CONFIG_CPUMASK_OFFSTACK=y.Signed-off-by: Rusty Russell
25 Nov, 2008
1 commit
-
Impact: stack usage reduction, (future) size reduction for large NR_CPUS.
Dynamically allocating cpumasks (when CONFIG_CPUMASK_OFFSTACK) saves
space for small nr_cpu_ids but big CONFIG_NR_CPUS.The fact cpupro_init is called both before and after the slab is
available makes for an ugly parameter unfortunately.We also use cpumask_any_and to get rid of a temporary in cpupri_find.
Signed-off-by: Rusty Russell
Signed-off-by: Ingo Molnar
06 Jun, 2008
3 commits
-
Peter pointed out that the last version of the "fix" was still one off
under certain circumstances. Use BITS_TO_LONG instead to get an
accurate result.Signed-off-by: Thomas Gleixner
-
A rounding error was pointed out by Peter Zijlstra which would result
in the structure holding priorities to be off by one.Signed-off-by: Gregory Haskins
Cc: Peter Zijlstra
Cc: Steven Rostedt
Cc: Arnaldo Carvalho de Melo
Signed-off-by: Thomas Gleixner -
The current code use a linear algorithm which causes scaling issues
on larger SMP machines. This patch replaces that algorithm with a
2-dimensional bitmap to reduce latencies in the wake-up path.Signed-off-by: Gregory Haskins
Acked-by: Steven Rostedt
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner