mayfield@saffron.cs.ucdavis.edu (Doug Mayfield) writes: : : Howdy LINUXers, : I have what may be a simple question: In the file : /usr/src/linux/fs/buffer.c there is a procedure called shrink_buffers : but I can not find the place where this function is invoked. Is this : a function that was left in for some other purpose. I was trying to : find a way to make the kernel stop using so many buffers and found : this function but no place where it is called. : : Is there some reason for this or am I just not looking hard : enough??? Thanks in advance for any suggestions. It is called from mm/swap.c. I don't think you actually want to be reducing the number of buffers. The number of buffers gets reduced automatically when the system runs out of memory. It then starts swapping and re-useing buffers as user memory. The relevent routine is mm/swap.c::get_free_page(int priority); : ------------------------------------------------------------ : Douglas B. Mayfield
| Ingo Molnar | Re: [PATCH 00/34] AMD IOMMU driver |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Ryan Hope | reiser4 for 2.6.27-rc1 |
git: | |
| Linus Torvalds | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Jon Smirl | Re: VCS comparison table |
| Junio C Hamano | Re: [PATCH] Teach remote machinery about remotes.default config variable |
| Dmitry Kakurin | Re: Git on MSys (or how to make it easy for Windows users to compile git) |
| Octavian Purdila | race in skb_splice_bits? |
| Wolfgang Walter | Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch... |
| Ingo Molnar | Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison overwritten |
| Rick Jones | Re: 2.6.24 BUG: soft lockup - CPU#X |
| Richard Stallman | Real men don't attack straw men |
| chefren | Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD |
| Pieter Verberne | File collision while using pkg_add |
| Jason Dixon | Re: Hardware recommendation for firewalls (more than 4 NICs) |
