Messages in this thread | | | Date | Wed, 11 May 2005 17:59:40 -0600 | From | Robert Hancock <> | Subject | Re: Disable cached memory |
| |
Chen Bill-R63518 wrote: > Hi, > When I cat "/proc/meminfo", I found there were too many memory cached which may result in kernel oom and killing something. I want to disable the cacheable feature, or limit the maximum of memory sizes which could be used for cached data. But anyone know how I shall do in the kernel? I use 2.4.20 kernel. Thanks.
It doesn't work that way. If memory is needed for something else, the amount of memory used for cache will be reduced.
-- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |