Re: [PATCH v2] Make VM_MAX_READAHEAD a kernel parameter

From: Christian Ehrhardt
Date: Mon Feb 22 2010 - 03:17:05 EST




Wu Fengguang wrote:
Nikanth,

I didn't want to impose artificial restrictions. I think Wu's patch set would be adding some restrictions, like minimum readahead. He could fix it when he modifies the patch to include in his patch set.

OK, I imposed a larger bound -- 128MB.
And values 1-4095 (more exactly: PAGE_CACHE_SIZE) are prohibited mainly to catch "readahead=128" where the user really means to do 128 _KB_ readahead.

Christian, with this patch and more patches to scale down readahead
size on small memory/device size, I guess it's no longer necessary to
introduce a CONFIG_READAHEAD_SIZE?

Yes as I mentioned before a kernel parameter supersedes a config symbol in my opinion too.
-> agreed

Thanks,
Fengguang
---

--

Grüsse / regards, Christian Ehrhardt
IBM Linux Technology Center, System z Linux Performance
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/