cvs commit: src/sys/compat/linprocfs linprocfs.c src/sys/fs/procfs procfs_map.c

Chagin Dmitry dchagin at freebsd.org
Sat Oct 4 16:19:44 UTC 2008


On Sat, Oct 04, 2008 at 05:39:00PM +0200, Roman Divacky wrote:
> On Sat, Oct 04, 2008 at 02:08:16PM +0000, Konstantin Belousov wrote:
> > kib         2008-10-04 14:08:16 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     sys/compat/linprocfs linprocfs.c 
> >     sys/fs/procfs        procfs_map.c 
> >   Log:
> >   SVN rev 183600 on 2008-10-04 14:08:16Z by kib
> >   
> >   Change the linprocfs <pid>/maps and procfs <pid>/map handlers to use
> >   sbuf instead of doing uiomove. This allows for reads from non-zero
> >   offsets to work.
> >   
> >   Patch is forward-ported des@' one, and was adopted to current code
> >   by dchagin@ and me.
> >   
> >   Reviewed by:    des (linprocfs part)
> >   PR:     kern/101453
> >   MFC after:      1 week
> >   
> >   Revision  Changes    Path
> >   1.125     +5 -29     src/sys/compat/linprocfs/linprocfs.c
> >   1.42      +7 -29     src/sys/fs/procfs/procfs_map.c
> 
> it should be noted that this patch lets flash9 work reliably on FreeBSD.
> 

only for compat.linux.osrelease=2.4.2
2.6.16 still requires affinity() patch. I'm sure

thnx Kostik!
-- 
Have fun!
chd


More information about the cvs-src mailing list