lkml.org 
[lkml]   [1996]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: proc_generic - cool new stuff
Date
> therefore must be OK to sleep in. It definitely cannot use cli/sti
> to lock it's tables. Anything still relying on cli/sti will need
> to be cached. (And hopefully some of these will be fixed by Keith
> Owens soon.)

You mean like the routing tables. We cannot sleep in the routing handling
end of story. The current code just builds a kernel buffer, unlocks and
feeds that out. That should work fine with your changes

> will keep the proc data consistent (no missing or duplicate data),
> as was the original intent of the caching model.
>
> The included patch should apply cleanly to 2.1.7.
>
> Comments?

Bonus points for being able to select() on a /proc file and wake when
it changes ;)

Alan


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