]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC64]: Don't kill the page allocator when growing a TSB.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sat, 18 Mar 2006 07:40:47 +0000 (23:40 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:16:38 +0000 (01:16 -0800)
commit37aa5d181146f1a2904c1a05421876df66751490
treeff6671cab70dfaed00cf19367a6a71b1cda0cdf4
parentaf82477ef21275386ce1d7f37f7d67f51c4b1899
[SPARC64]: Don't kill the page allocator when growing a TSB.

Try only lightly on > 1 order allocations.

If a grow fails, we are under memory pressure, so do not try
to grow the TSB for this address space any more.

If a > 0 order TSB allocation fails on a new fork, retry using
a 0 order allocation.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/tsb.c