Files
tegra-linux-noble/include/linux
Linus Torvalds 0531b2aac5 mm: add new 'read_cache_page_gfp()' helper function
It's a simplified 'read_cache_page()' which takes a page allocation
flag, so that different paths can control how aggressive the memory
allocations are that populate a address space.

In particular, the intel GPU object mapping code wants to be able to do
a certain amount of own internal memory management by automatically
shrinking the address space when memory starts getting tight.  This
allows it to dynamically use different memory allocation policies on a
per-allocation basis, rather than depend on the (static) address space
gfp policy.

The actual new function is a one-liner, but re-organizing the helper
functions to the point where you can do this with a single line of code
is what most of the patch is all about.

Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-01-27 09:20:03 -08:00
..
2010-01-13 09:04:53 +00:00
2008-02-06 10:41:02 -08:00
2009-12-16 07:20:13 -08:00
2010-01-11 14:29:20 +01:00
2009-12-10 23:52:01 +00:00
2007-02-09 17:39:36 -05:00
2009-12-15 08:53:33 -08:00
2009-11-04 09:50:58 -08:00
2009-12-10 15:02:53 +01:00
2009-12-23 13:33:54 +01:00
2010-01-14 09:05:26 -05:00
2006-10-02 07:57:12 -07:00
2010-01-11 14:32:44 +01:00
2009-12-14 23:55:34 +01:00
2009-12-14 21:17:29 +01:00
2009-12-21 11:32:27 -05:00
2009-12-25 17:30:22 -08:00
2009-12-02 23:38:13 -08:00
2009-09-26 10:17:19 -07:00
2006-10-04 00:31:09 -07:00
2009-12-16 06:56:12 -08:00
2009-12-15 08:53:36 -08:00
2009-10-01 21:17:49 +02:00
2009-12-15 08:53:20 -08:00
2009-12-12 13:08:15 +01:00
2005-04-16 15:20:36 -07:00
2006-11-30 04:40:22 +01:00
2009-12-09 12:12:44 +02:00
2005-04-16 15:20:36 -07:00
2010-01-04 15:41:47 -08:00
2005-04-16 15:20:36 -07:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:20 -08:00
2009-04-01 08:59:24 -07:00
2007-10-16 09:43:17 -07:00
2008-04-25 00:25:08 +02:00
2009-12-16 22:32:29 -05:00
2009-10-26 09:40:30 +01:00
2010-01-14 22:38:09 -05:00
2009-12-15 08:53:16 -08:00
2009-12-25 17:30:22 -08:00
2009-02-18 15:37:53 -08:00
2010-01-16 12:15:38 -08:00
2009-12-16 12:16:49 -05:00