Add another flag to the vmalloc subsystem to mark virtual compound pages. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- include/linux/vmalloc.h | 1 + mm/vmalloc.c | 3 +++ 2 files changed, 4 insertions(+) Index: linux-2.6.25-rc5-mm1/include/linux/vmalloc.h =================================================================== --- linux-2.6.25-rc5-mm1.orig/include/linux/vmalloc.h 2008-03-19 18:17:42.093443900 -0700 +++ linux-2.6.25-rc5-mm1/include/linux/vmalloc.h 2008-03-19 18:27:20.150422445 -0700 @@ -12,6 +12,7 @@ struct vm_area_struct; #define VM_MAP 0x00000004 /* vmap()ed pages */ #define VM_USERMAP 0x00000008 /* suitable for remap_vmalloc_range */ #define VM_VPAGES 0x00000010 /* buffer for pages was vmalloc'ed */ +#define VM_VCOMPOUND 0x00000020 /* Page allocator fallback */ /* bits [20..32] reserved for arch specific ioremap internals */ /* Index: linux-2.6.25-rc5-mm1/mm/vmalloc.c =================================================================== --- linux-2.6.25-rc5-mm1.orig/mm/vmalloc.c 2008-03-19 18:18:02.689633934 -0700 +++ linux-2.6.25-rc5-mm1/mm/vmalloc.c 2008-03-19 18:27:20.150422445 -0700 @@ -974,6 +974,9 @@ static int s_show(struct seq_file *m, vo if (v->flags & VM_VPAGES) seq_printf(m, " vpages"); + if (v->flags & VM_VCOMPOUND) + seq_printf(m, " vcompound"); + seq_putc(m, '\n'); return 0; } -- --
| Joe Perches | [PATCH 0/148] include/asm-x86: checkpatch cleanups - formatting only |
| Andreas Gruenbacher | Re: LSM conversion to static interface |
| Artem Bityutskiy | [RFC PATCH 06/26] UBIFS: add superblock and master node |
| Thomas Gleixner | Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series.. |
git: | |
| David Miller | Re: [GIT]: Networking |
| Gregory Haskins | [RFC PATCH 09/17] net: Add vbus_enet driver |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 02/37] dccp: Implement lookup table for feature-negotiation information |
