2010-02-09 11:29:11

by Nikanth Karthikesan

[permalink] [raw]
Subject: [PATCH] Remove unused macro, VM_MIN_READAHEAD.

Remove unused macro, VM_MIN_READAHEAD.

Signed-off-by: Nikanth Karthikesan <[email protected]>

---

Index: linux-2.6/include/linux/mm.h
===================================================================
--- linux-2.6.orig/include/linux/mm.h
+++ linux-2.6/include/linux/mm.h
@@ -1189,7 +1189,6 @@ void task_dirty_inc(struct task_struct *

/* readahead.c */
#define VM_MAX_READAHEAD 128 /* kbytes */
-#define VM_MIN_READAHEAD 16 /* kbytes (includes current page) */

int force_page_cache_readahead(struct address_space *mapping, struct file *filp,
pgoff_t offset, unsigned long nr_to_read);


2010-02-11 05:22:58

by Fengguang Wu

[permalink] [raw]
Subject: Re: [PATCH] Remove unused macro, VM_MIN_READAHEAD.

Hi Nikanth,

On Tue, Feb 09, 2010 at 04:59:19PM +0530, Nikanth Karthikesan wrote:
> Remove unused macro, VM_MIN_READAHEAD.

NAK, sorry.

I'm using VM_MIN_READAHEAD in this patchset:

http://lkml.org/lkml/2010/2/2/232

So please don't drop it.

Thanks,
Fengguang