[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)
commitb52439c22c63dbbefd5395f2151c0ef4f667e949
treeff6671cab70dfaed00cf19367a6a71b1cda0cdf4
parent05f9ca83596c7801549a2b4eba469d51baf5480f
[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