retrive data from mbuf chain

2008-02-07 Thread Biks N
Hi, I am new to FreeBSD kernel programming. Currently I am trying to work on mbuf data manupulation. >From my understanding: data (payload) is stored into one or more mufs which are chained together through m_next pointer. Now, I need to retrive all data in mbuf chain ( mbufs linked by m_next).

uma_zcreate and number of items to create

2008-02-07 Thread Pietro Cerutti
Hi hackers, I was thinking about modifying the zone allocator to allow to specify the number of items to pre-allocate when a zone is first created. Before starting to hack it, I would like to know what you think about it. Do you find it useful or not? Thanks -- Pietro Cerutti PGP Public Key:

RE: retrive data from mbuf chain

2008-02-07 Thread Singh, Vijay
>From the entire chain. best regards, Vijay > -Original Message- > From: Biks N [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 07, 2008 1:38 PM > To: Sam Leffler > Cc: freebsd-hackers@freebsd.org > Subject: Re: retrive data from mbuf chain > > On Feb 7, 2008 3:26 PM, Sam Leffler

Re: retrive data from mbuf chain

2008-02-07 Thread Biks N
On Feb 7, 2008 3:26 PM, Sam Leffler <[EMAIL PROTECTED]> wrote: > > Biks N wrote: > > Hi, > > > > I am new to FreeBSD kernel programming. > > > > Currently I am trying to work on mbuf data manupulation. > > > > >From my understanding: data (payload) is stored into one or more mufs > > which are chai

Re: retrive data from mbuf chain

2008-02-07 Thread Julian Elischer
Vlad GALU wrote: On 2/7/08, Biks N <[EMAIL PROTECTED]> wrote: Hi, I am new to FreeBSD kernel programming. Currently I am trying to work on mbuf data manupulation. >From my understanding: data (payload) is stored into one or more mufs which are chained together through m_next pointer. Now, I

Re: retrive data from mbuf chain

2008-02-07 Thread Sam Leffler
Biks N wrote: Hi, I am new to FreeBSD kernel programming. Currently I am trying to work on mbuf data manupulation. >From my understanding: data (payload) is stored into one or more mufs which are chained together through m_next pointer. Now, I need to retrive all data in mbuf chain ( mbufs li

Re: retrive data from mbuf chain

2008-02-07 Thread Vlad GALU
On 2/7/08, Biks N <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to FreeBSD kernel programming. > > Currently I am trying to work on mbuf data manupulation. > > >From my understanding: data (payload) is stored into one or more mufs > which are chained together through m_next pointer. > > Now, I need

Re: uma_zcreate and number of items to create

2008-02-07 Thread Ed Schouten
* Pietro Cerutti <[EMAIL PROTECTED]> wrote: > Before starting to hack it, I would like to know what you think about > it. Do you find it useful or not? I was thinking about this as well, because my TTY hackery could also use this to preallocate cblocks to store characters from interrupts, but then

Re: uma_zcreate and number of items to create

2008-02-07 Thread Pietro Cerutti
Ed Schouten wrote: > Using your own per-{device,object,etc} free list should even be faster, > because uma probably has some per-zone spinlock, while you may not need > the locking in your specific situation (i.e. another lock already > protects it). Interesting point! -- Pietro Cerutti PGP Pu

Question about http://torrents.freebsd.org:8080/index.html

2008-02-07 Thread Sean Bruno
Does it seem correct to all concerned that each release actually lists all files twice? There is a torrent for the entire release CD ISO set, and then there is a completely separate torrent for each CD ISO file. At least that is what it looks like to me. Is this correct? Sean