lkml.org 
[lkml]   [2000]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] NR_RESERVED_FILES broken in 2.4 too
Hi,

I have just retested under test12-pre7 and confirm my previous findings
i.e. there is no problem with get_empty_filp(), at least of the kind you
describe.

The definition of reserved file structures for root is -- those which are
taken from the freelist until it is not empty. In this sense it works and
I don't see why you think this definition is useless (it was like that for
ages, at least for the entire duration of 2.4.x kernels).

In brief -- it works, no patching is needed, unless you found some other
problem (e.g. you mentioned something about allocating more than NR_FILES
on SMP -- what do you mean?) which you are not explaining clearly.

You just say "it is broken and here is the patch" but that, imho, is not
enough. (ok, one could overcome the laziness and actually _read_ your
patch to see what you _think_ is broken but surely it is better if you
explain it yourself?). The current state of get_empty_filp() is simple and
readable -- how can it be broken?

Regards,
Tigran

-
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.077 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site