Messages in this thread | | | Date | Thu, 7 Dec 2000 15:44:54 +0200 (MET DST) | From | Szabolcs Szakacsits <> | Subject | Re: [PATCH] Broken NR_RESERVED_FILES |
| |
On Thu, 7 Dec 2000, Tigran Aivazian wrote: > On Thu, 7 Dec 2000, Szabolcs Szakacsits wrote: > > Reserved fd's for superuser doesn't work. > It does actually work,
What do you mean under "work"? I meant user apps are able to exhaust fd's completely and none is left for superuser.
> but remember that the concept of "reserved file > structures for superuser" is defined as "file structures to be taken from > the freelist"
Yes, in this sense it works and it's also very close to unhelpfulness.
> whereas your patch below: [...] > allows one to allocate a file structure from the filp_cache slab cache if > one is a superuser.
Or one is user and didn't hit yet the reserved fd's (and of course superuser aren't able to allocate more then max_files).
Szaka
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |