Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] Remove unused macro, VM_MIN_READAHEAD.

4 views
Skip to first unread message

Nikanth Karthikesan

unread,
Feb 9, 2010, 6:30:02 AM2/9/10
to
Remove unused macro, VM_MIN_READAHEAD.

Signed-off-by: Nikanth Karthikesan <knik...@suse.de>

---

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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Wu Fengguang

unread,
Feb 11, 2010, 12:30:02 AM2/11/10
to
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

0 new messages