Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys



Module Name:    syssrc
Committed By:   thorpej
Date:           Thu May  2 16:22:46 UTC 2002

Modified Files:
        syssrc/sys/arch/alpha/a12: if_ade.c
        syssrc/sys/dev/pci: if_ti.c
        syssrc/sys/sys: mbuf.h

Log Message:
Change the semantics of mbuf external storage "ext_free" routines
so that they're more useful for arbitrary types of external storage:

* Add an "mbuf *" argument to (*ext_free)().  If non-NULL, (*ext_free)()
  is expected to free the mbuf itself.  This allows (*ext_free)() to use
  the mbuf for bookkeeping (e.g. deferring the work to a helper thread).
  If the "mbuf *" argument is NULL, we are assumed to be in a context
  which is safe for performing the destructor operation *now*.
* Adjust MEXTREMOVE() and MFREE() routines for above change.
* Update "ade" and "ti" drivers for new semantics.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/alpha/a12/if_ade.c
cvs rdiff -r1.46 -r1.47 syssrc/sys/dev/pci/if_ti.c
cvs rdiff -r1.64 -r1.65 syssrc/sys/sys/mbuf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index