Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Diff of /trunk/1.8.x/ccs-patch/README.ccs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4667 by kumaneko, Tue Mar 1 07:11:04 2011 UTC revision 4668 by kumaneko, Tue Mar 1 07:13:40 2011 UTC
# Line 2744  Fix 2011/02/07 Line 2744  Fix 2011/02/07
2744        printing the additional '\0', ccs_flush() was returning without updating        printing the additional '\0', ccs_flush() was returning without updating
2745        head->r.w[0]. As a result, ccs_flush() forever reprints already printed        head->r.w[0]. As a result, ccs_flush() forever reprints already printed
2746        string data.        string data.
2747    
2748    Fix 2011/03/01
2749    
2750        @ Run garbage collector without waiting for /proc/ccs/ users.
2751    
2752          Currently TOMOYO holds SRCU lock upon open() and releases it upon close()
2753          because list elements stored in the "struct ccs_io_buffer" instances are
2754          accessed until close() is called. However, such SRCU usage causes lockdep
2755          to complain about leaving the kernel with SRCU lock held. Therefore,
2756          I changed to hold/release SRCU upon each read()/write() by selectively
2757          deferring kfree() by keeping track of the "struct ccs_io_buffer"
2758          instances.

Legend:
Removed from v.4667  
changed lines
  Added in v.4668

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26