Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2000 18:25:13 -0500 (EST)
From:      Bosko Milekic <bmilekic@dsuper.net>
To:        Bosko Milekic <bmilekic@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/en midway.c src/sys/kern uipc_mbuf2.c uipc_syscalls.c src/sys/netinet ip_fil.c src/sys/netinet6 ipsec.c src/sys/pci if_sk.c if_ti.c if_wb.c src/sys/sys mbuf.h
Message-ID:  <Pine.BSF.4.21.0011111824380.6371-100000@jehovah.technokratis.com>
In-Reply-To: <200011112312.PAA35598@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

 FYI:

 	I'm working on a diff to mbuf.9


On Sat, 11 Nov 2000, Bosko Milekic wrote:

[...]
>   Modified files:
>     sys/sys              mbuf.h 
>   Log:
>   Add new M_RDONLY flag, which can be set during setup (MEXTADD, for example),
>   and which indicates that the ext_buf is to be marked READ-ONLY.
>   
>   Also introduce M_WRITABLE() macro, which will return true if:
>   * M_RDONLY is _not_ set AND:
>   * either mbuf has no ext_buf attached OR it has an ext_buf attached but the ref
>     count is NOT above 1.
>   
>   sf_bufs (sendfile) are marked M_RDONLY.
>   
>   Now code determining whether an mbuf's data area is "shared" or not can be
>   made to use this instead of doing its own (often incorrect) thing.
>   
>   Submitted by: bmilekic, dwmalone, and Ian Dowse
>   Reviewed by: dwmalone, jlemon
>   
>   Revision  Changes    Path
>   1.63      +33 -15    src/sys/sys/mbuf.h


  Bosko Milekic
  bmilekic@technokratis.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011111824380.6371-100000>