[XFS] Add a debug flag for allocations which are known to be larger than

one page.

SGI-PV: 955302
SGI-Modid: xfs-linux-melb:xfs-kern:26800a

Signed-off-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
This commit is contained in:
Nathan Scott
2006-09-28 11:03:05 +10:00
committed by Tim Shimmin
parent 3f89243c5b
commit efb8ad7e94
7 changed files with 18 additions and 9 deletions

View File

@@ -75,7 +75,7 @@ ktrace_alloc(int nentries, unsigned int __nocast sleep)
sleep);
} else {
ktep = (ktrace_entry_t*)kmem_zalloc((nentries * sizeof(*ktep)),
sleep);
sleep | KM_LARGE);
}
if (ktep == NULL) {