diff options
| author | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 18:48:25 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 18:48:25 -0800 |
| commit | 75b566af5cc6f64f9ab5b66608ff8ce18098a2b4 (patch) | |
| tree | a7befb989f28ae984b376b72fe39d942bf18cefa /include/linux/mm.h | |
| parent | ff31dc0b2b944b3d08c20d4d2a79e47345ac8b16 (diff) | |
v2.4.5.7 -> v2.4.5.8
- me: fix GFB_BUFFER thinkos. Make buffer syncing more efficient.
Make sure we don't leave buffers on the LOCKED list forever
- David Miller: networking and sparc updates
Diffstat (limited to 'include/linux/mm.h')
| -rw-r--r-- | include/linux/mm.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 31ebd2ba14b2..6e5d72757d05 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -533,18 +533,19 @@ extern struct page *filemap_nopage(struct vm_area_struct *, unsigned long, int); #define __GFP_HIGHMEM 0x02 /* Action modifiers - doesn't change the zoning */ -#define __GFP_WAIT 0x10 -#define __GFP_HIGH 0x20 -#define __GFP_IO 0x40 -#define __GFP_BUFFER 0x80 +#define __GFP_WAIT 0x10 /* Can wait and reschedule? */ +#define __GFP_HIGH 0x20 /* Should access emergency pools? */ +#define __GFP_IO 0x40 /* Can start physical IO? */ +#define __GFP_FS 0x80 /* Can call down to low-level FS? */ -#define GFP_BUFFER (__GFP_HIGH | __GFP_WAIT | __GFP_BUFFER) +#define GFP_NOIO (__GFP_HIGH | __GFP_WAIT) +#define GFP_NOFS (__GFP_HIGH | __GFP_WAIT | __GFP_IO) #define GFP_ATOMIC (__GFP_HIGH) -#define GFP_USER ( __GFP_WAIT | __GFP_IO) -#define GFP_HIGHUSER ( __GFP_WAIT | __GFP_IO | __GFP_HIGHMEM) -#define GFP_KERNEL (__GFP_HIGH | __GFP_WAIT | __GFP_IO) -#define GFP_NFS (__GFP_HIGH | __GFP_WAIT | __GFP_IO) -#define GFP_KSWAPD ( __GFP_IO) +#define GFP_USER ( __GFP_WAIT | __GFP_IO | __GFP_FS) +#define GFP_HIGHUSER ( __GFP_WAIT | __GFP_IO | __GFP_FS | __GFP_HIGHMEM) +#define GFP_KERNEL (__GFP_HIGH | __GFP_WAIT | __GFP_IO | __GFP_FS) +#define GFP_NFS (__GFP_HIGH | __GFP_WAIT | __GFP_IO | __GFP_FS) +#define GFP_KSWAPD ( __GFP_IO | __GFP_FS) /* Flag - indicates that the buffer will be suitable for DMA. Ignored on some platforms, used as appropriate on others */ |
