19 Jul, 2010
1 commit
-
With commits 08677214 and 59be5a8e, alloc_bootmem()/free_bootmem() and
friends use the early_res functions for memory management when
NO_BOOTMEM is enabled. This patch adds the kmemleak calls in the
corresponding code paths for bootmem allocations.Signed-off-by: Catalin Marinas
Acked-by: Pekka Enberg
Acked-by: Yinghai Lu
Cc: H. Peter Anvin
Cc: stable@kernel.org
30 Mar, 2010
1 commit
-
This avoids an infinite loop in free_early_partial().
Add a warning to free_early_partial() to catch future problems.
-v5: put back start > end back into WARN_ONCE()
-v6: use one line for warning, suggested by Linus
-v7: more tests
-v8: remove the function name as suggested by Johannes
WARN_ONCE() will print out that function name.Signed-off-by: Ian Campbell
Signed-off-by: Yinghai Lu
Tested-by: Konrad Rzeszutek Wilk
Tested-by: Joel Becker
Tested-by: Stanislaw Gruszka
Acked-by: Johannes Weiner
Cc: Peter Zijlstra
Cc: David Miller
Cc: Benjamin Herrenschmidt
Cc: Linus Torvalds
LKML-Reference:
Signed-off-by: Ingo Molnar
02 Mar, 2010
1 commit
-
During free_early_partial(), reserve_early_without_check() could end
extending the early_res area from __check_and_double_early_res(); as a
result, the location of the name for the current reservation could
change.Therefore, we need to save a local copy of the name.
[ hpa: rewrote comment and checkin description ]
Signed-off-by: Yinghai Lu
LKML-Reference:
Signed-off-by: H. Peter Anvin
26 Feb, 2010
1 commit
-
To free partial areas in pcpu_setup...
Reported-by: Peter Zijlstra
Signed-off-by: Yinghai Lu
Cc: Tejun Heo
Cc: Christoph Lameter
Cc: Stephen Rothwell
Cc: Linus Torvalds
Cc: Jesse Barnes
Cc: Pekka Enberg
LKML-Reference:
Signed-off-by: Ingo Molnar
17 Feb, 2010
1 commit
-
This makes the range reservation feature available to other
architectures.-v2: add get_max_mapped, max_pfn_mapped only defined in x86...
to fix PPC compiling
-v3: according to hpa, add CONFIG_HAVE_EARLY_RES
-v4: fix typo about EARLY_RES in configSigned-off-by: Yinghai Lu
LKML-Reference:
Signed-off-by: H. Peter Anvin