Re: cvs commit: src/sys/compat/linux linux_misc.c

2008-10-04 Thread Roman Divacky
On Sat, Oct 04, 2008 at 07:23:30PM +, Konstantin Belousov wrote: > kib 2008-10-04 19:23:30 UTC > > FreeBSD src repository > > Modified files: > sys/compat/linux linux_misc.c > Log: > SVN rev 183612 on 2008-10-04 19:23:30Z by kib > > Current linux_fooaffinity() em

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

2008-10-04 Thread Roman Divacky
On Sat, Oct 04, 2008 at 02:08:16PM +, Konstantin Belousov wrote: > kib 2008-10-04 14:08:16 UTC > > FreeBSD src repository > > Modified files: > sys/compat/linprocfs linprocfs.c > sys/fs/procfsprocfs_map.c > Log: > SVN rev 183600 on 2008-10-04 14:08:16Z by kib

Re: cvs commit: src/sys/netinet ip_fw2.c

2008-09-30 Thread Roman Divacky
On Tue, Sep 30, 2008 at 05:19:57PM +0100, Robert Watson wrote: > > On Sun, 28 Sep 2008, Ganbold wrote: > > >>Indeed -- when an inpcb doesn't have a socket, ipfw will go ahead and do > >>a lookup for an inpcb even though one is passed down. I've committed a > >>change that short-circuits that a

cvs commit: src/sys/compat/linux linux_file.c

2008-09-22 Thread Roman Divacky
rdivacky2008-09-22 20:19:54 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/compat/linux linux_file.c Log: SVN rev 183278 on 2008-09-22 20:19:54Z by rdivacky Merge r182892 from head to stable/7, I had to manually change the code to include "thr

cvs commit: src/sys/compat/linux linux_misc.c

2008-09-11 Thread Roman Divacky
rdivacky2008-09-11 15:28:28 UTC FreeBSD src repository Modified files: sys/compat/linux linux_misc.c Log: SVN rev 182935 on 2008-09-11 15:28:28Z by rdivacky The ERESTART to EINTR conversion is already done in kern_select so there is no need to repeat it in linux_sele

cvs commit: src/sys/compat/linux linux_file.c

2008-09-09 Thread Roman Divacky
rdivacky2008-09-09 16:00:17 UTC FreeBSD src repository Modified files: sys/compat/linux linux_file.c Log: SVN rev 182892 on 2008-09-09 16:00:17Z by rdivacky Getdents requires padding with 2 bytes instead of 1 byte as with getdents64. The last byte is used for storing

cvs commit: src/sys/compat/linux linux_misc.c

2008-07-23 Thread Roman Divacky
rdivacky2008-07-23 17:19:02 UTC FreeBSD src repository Modified files: sys/compat/linux linux_misc.c Log: SVN rev 180766 on 2008-07-23 17:19:02Z by rdivacky Fix linux_alarm, the linux behaviour is to limit the secs to INT_MAX when the passed in parameter is bigger th

cvs commit: src/sys/kern kern_alq.c

2008-07-02 Thread Roman Divacky
rdivacky2008-07-02 20:44:33 UTC FreeBSD src repository Modified files: sys/kern kern_alq.c Log: SVN rev 180196 on 2008-07-02 20:44:33Z by rdivacky Use msleep_spin() instead of unlock/tsleep/lock. This was already commited but with a wrong msleep variant and the

cvs commit: src/sys/compat/linux linux_file.c

2008-06-08 Thread Roman Divacky
rdivacky2008-06-08 11:09:25 UTC FreeBSD src repository Modified files: sys/compat/linux linux_file.c Log: SVN rev 179651 on 2008-06-08 11:09:25Z by rdivacky d_ino member of linux_dirent structure should be unsigned long. Submitted by: Chagin Dmitry <[EMAIL PROTECT

cvs commit: src UPDATING

2008-06-03 Thread Roman Divacky
rdivacky2008-06-03 18:13:12 UTC FreeBSD src repository Modified files: .UPDATING Log: SVN rev 179524 on 2008-06-03 18:09:10Z by rdivacky Fix the date in the last commit. Approved by:kib (mentor) Revision ChangesPath 1.531 +1 -1

cvs commit: src UPDATING src/sys/compat/linux linux_mib.c

2008-06-03 Thread Roman Divacky
rdivacky2008-06-03 17:55:49 UTC FreeBSD src repository Modified files: .UPDATING sys/compat/linux linux_mib.c Log: SVN rev 179523 on 2008-06-03 17:50:13Z by rdivacky Switch to emulating Linux 2.6 on default. Approved by:kib (mentor)

Re: cvs commit: src/sys/fs/fdescfs fdesc.h fdesc_vfsops.c fdesc_vnops.c

2008-05-25 Thread Roman Divacky
On Sat, May 24, 2008 at 02:51:30PM +, Ulf Lilleengen wrote: > lulf2008-05-24 14:51:30 UTC > > FreeBSD src repository > > Modified files: > sys/fs/fdescfs fdesc.h fdesc_vfsops.c fdesc_vnops.c > Log: > - Add locking to all filesystem operations in fdescfs and flag it

Re: cvs commit: src/sys/kern kern_sdt.c

2008-05-19 Thread Roman Divacky
On Sun, May 18, 2008 at 07:32:36PM +, John Birrell wrote: > jb 2008-05-18 19:32:36 UTC > > FreeBSD src repository > > Added files: > sys/kern kern_sdt.c > Log: > Add kernel support for the Statically Defined Trace provider. > > This is BSD licensed code

cvs commit: src/tools/regression/doat Makefile README doat.c

2008-05-18 Thread Roman Divacky
rdivacky2008-05-18 08:34:04 UTC FreeBSD src repository Added files: tools/regression/doat Makefile README doat.c Log: Simple testing program for *at family of syscalls. Approved by:kib (mentor) Revision ChangesPath 1.1 +7 -0 src/tools/regression/do

cvs commit: src/sys/amd64/linux32 linux32_proto.h linux32_syscall.h linux32_sysent.c src/sys/i386/linux linux_proto.h linux_syscall.h linux_sysent.c

2008-05-13 Thread Roman Divacky
rdivacky2008-05-13 20:02:26 UTC FreeBSD src repository Modified files: sys/amd64/linux32linux32_proto.h linux32_syscall.h linux32_sysent.c sys/i386/linux linux_proto.h linux_syscall.h linux_sysent.c Log: Regen.

cvs commit: src/sys/amd64/linux32 linux32_dummy.c syscalls.master src/sys/i386/linux linux_dummy.c syscalls.master src/sys/compat/linux linux_emul.c linux_emul.h linux_futex.c linux_futex.h linux_misc

2008-05-13 Thread Roman Divacky
rdivacky2008-05-13 20:01:27 UTC FreeBSD src repository Modified files: sys/amd64/linux32syscalls.master linux32_dummy.c sys/i386/linux syscalls.master linux_dummy.c sys/compat/linux linux_emul.c linux_emul.h linux_futex.c linux_futex.h

cvs commit: src/sys/kern vfs_mount.c

2008-04-29 Thread Roman Divacky
rdivacky2008-04-29 21:40:11 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c Log: Lock filedesc exclusively when modifying fd_[cr]dir. This is probably harmless but it's better to lock it correctly. Approved by:kib (mentor) Revision C

Re: cvs commit: src/sys/kern kern_descrip.c

2008-04-25 Thread Roman Divacky
On Thu, Apr 24, 2008 at 10:08:36PM +, Kris Kennaway wrote: > kris2008-04-24 22:08:36 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_descrip.c > Log: > fdhold can return NULL, so add the one remaining missing check for this > condition.

Re: cvs commit: src/sys/security/audit audit.h

2008-04-24 Thread Roman Divacky
On Thu, Apr 24, 2008 at 12:23:31PM +, Robert Watson wrote: > rwatson 2008-04-24 12:23:31 UTC > > FreeBSD src repository > > Modified files: > sys/security/audit audit.h > Log: > Use logic or, not binary or, when deciding whether or not a system call > exit requires enteri

cvs commit: src/sys/amd64/linux32 linux32_dummy.c src/sys/i386/linux linux_dummy.c src/sys/compat/linux linux_file.c

2008-04-23 Thread Roman Divacky
rdivacky2008-04-23 15:56:34 UTC FreeBSD src repository Modified files: sys/amd64/linux32linux32_dummy.c sys/i386/linux linux_dummy.c sys/compat/linux linux_file.c Log: Implement linux_truncate64() syscall. Tested by: Aline de Freitas <[EMAIL PROT

cvs commit: src/sys/compat/svr4 svr4_misc.c

2008-04-21 Thread Roman Divacky
rdivacky2008-04-21 21:24:08 UTC FreeBSD src repository Modified files: sys/compat/svr4 svr4_misc.c Log: The vmspace->vm_daddr is constant until freed, there is no need to hold lock while accessing it. Approved by:kib (mentor) Revision ChangesPath 1.101

Re: cvs commit: src/usr.sbin/pkg_install/add perform.c src/usr.sbin/pkg_install/delete perform.c src/usr.sbin/pkg_install/lib lib.h match.c

2008-04-11 Thread Roman Divacky
On Fri, Apr 11, 2008 at 08:26:06AM +, Pav Lucistnik wrote: > pav 2008-04-11 08:26:06 UTC > > FreeBSD src repository (doc,ports committer) > > Modified files: > usr.sbin/pkg_install/add perform.c > usr.sbin/pkg_install/delete perform.c > usr.sbin/pkg_install/lib lib.h

cvs commit: src/sys/compat/linux linux_file.c

2008-04-09 Thread Roman Divacky
rdivacky2008-04-09 16:42:50 UTC FreeBSD src repository Modified files: sys/compat/linux linux_file.c Log: Remove using magic value of -1 to distinguish between linux_open() and linux_openat(). Instead just pass AT_FDCWD into linux_common_open() for the linux_open() case.

cvs commit: src/usr.sbin/pkg_install/add perform.c

2008-03-30 Thread Roman Divacky
rdivacky2008-03-30 16:49:20 UTC FreeBSD src repository Modified files: usr.sbin/pkg_install/add perform.c Log: Improve style a little and remove one always-true condition. Approved by:portmgr (pav) Approved by:kib (mentor) Revision ChangesPath 1.82

cvs commit: src/sys/compat/linux linux_futex.c linux_futex.h

2008-03-28 Thread Roman Divacky
rdivacky2008-03-28 10:13:20 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/compat/linux linux_futex.c linux_futex.h Log: MFC rev. 1.12 of sys/compat/linux/linux_futex.c MFC rev. 1.3 of sys/compat/linux/linux_futex.h: o Add stub s

cvs commit: src/sys/compat/linux linux_futex.c linux_futex.h

2008-03-20 Thread Roman Divacky
rdivacky2008-03-20 17:03:55 UTC FreeBSD src repository Modified files: sys/compat/linux linux_futex.c linux_futex.h Log: o Add stub support for some new futex operations, so the annoying message is not printed. o Don't warn a

Re: cvs commit: src/sys/i386/linux syscalls.master

2008-03-16 Thread Roman Divacky
On Sun, Mar 16, 2008 at 04:27:44PM +, Roman Divacky wrote: > rdivacky2008-03-16 16:27:44 UTC > > FreeBSD src repository > > Modified files: > sys/i386/linux syscalls.master > Log: > Implement sched_setaffinity and get_setaffinity using >

cvs commit: src/sys/amd64/linux32 linux32_proto.h linux32_syscall.h linux32_sysent.c src/sys/i386/linux linux_proto.h linux_syscall.h linux_sysent.c

2008-03-16 Thread Roman Divacky
rdivacky2008-03-16 16:29:37 UTC FreeBSD src repository Modified files: sys/amd64/linux32linux32_sysent.c linux32_syscall.h linux32_proto.h sys/i386/linux linux_proto.h linux_syscall.h linux_sysent.c Log: Regen.

cvs commit: src/sys/i386/linux syscalls.master

2008-03-16 Thread Roman Divacky
rdivacky2008-03-16 16:27:44 UTC FreeBSD src repository Modified files: sys/i386/linux syscalls.master Log: Implement sched_setaffinity and get_setaffinity using real cpu affinity setting primitives. Reviewed by:jeff Approved by:kib (mentor) Revision C

cvs commit: src/sys/amd64/linux32 syscalls.master src/sys/compat/linux linux_misc.c

2008-03-16 Thread Roman Divacky
rdivacky2008-03-16 16:24:20 UTC FreeBSD src repository Modified files: sys/amd64/linux32syscalls.master sys/compat/linux linux_misc.c Log: Implement sched_setaffinity and get_setaffinity using real cpu affinity setting primitives. Reviewed by:jeff Approv

cvs commit: doc/share/pgpkeys pgpkeys-developers.sgml pgpkeys.ent rdivacky.key

2008-03-14 Thread Roman Divacky
rdivacky2008-03-14 16:38:23 UTC FreeBSD doc repository (src committer) Modified files: share/pgpkeyspgpkeys-developers.sgml pgpkeys.ent Added files: share/pgpkeysrdivacky.key Log: Add my pgp key. Approved by:kib (mentor) Revision ChangesP

cvs commit: www/share/sgml news.xml

2008-03-14 Thread Roman Divacky
rdivacky2008-03-14 11:39:02 UTC FreeBSD doc repository (src committer) Modified files: share/sgml news.xml Log: - Add myself as new commiter on front page news of FreeBSD.org Approved by:kib (mentor) Revision ChangesPath 1.153 +9 -1 www/sha

cvs commit: doc/en_US.ISO8859-1/articles/contributors contrib.additional.sgml contrib.committers.sgml

2008-03-14 Thread Roman Divacky
rdivacky2008-03-14 11:15:47 UTC FreeBSD doc repository (src committer) Modified files: en_US.ISO8859-1/articles/contributors contrib.additional.sgml contrib.committers.sgml Log: Remove myself from additional contributors and put myself t

cvs commit: www/en developers.sgml

2008-03-13 Thread Roman Divacky
rdivacky2008-03-13 17:22:04 UTC FreeBSD doc repository (src committer) Modified files: en developers.sgml Log: Add myself. Approved by:kib (mentor) Revision ChangesPath 1.190 +2 -1 www/en/developers.sgml

cvs commit: doc/en_US.ISO8859-1/share/sgml authors.ent

2008-03-13 Thread Roman Divacky
rdivacky2008-03-13 17:10:48 UTC FreeBSD doc repository (src committer) Modified files: en_US.ISO8859-1/share/sgml authors.ent Log: Add myself. Approved by:kib (mentor) Revision ChangesPath 1.444 +2 -0 doc/en_US.ISO8859-1/share/sgml/authors.ent __

Re: cvs commit: src/usr.sbin/moused moused.c

2008-03-06 Thread Roman Divacky
On Thu, Mar 06, 2008 at 12:22:17AM +, Jung-uk Kim wrote: > jkim2008-03-06 00:22:17 UTC > > FreeBSD src repository > > Modified files: > usr.sbin/moused moused.c > Log: > Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC_FAST. > It is only used to

Re: cvs commit: src/sys/compat/linux linux_futex.c

2008-03-02 Thread Roman Divacky
On Sun, Mar 02, 2008 at 02:00:50PM +, Konstantin Belousov wrote: > kib 2008-03-02 14:00:50 UTC > > FreeBSD src repository > > Modified files: > sys/compat/linux linux_futex.c > Log: > Return ENOSYS instead of 0 for the unknown futex operations. > > Submitted by:

Re: cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c

2008-02-11 Thread Roman Divacky
On Mon, Feb 11, 2008 at 07:35:03PM +, Jung-uk Kim wrote: > jkim2008-02-11 19:35:03 UTC > > FreeBSD src repository > > Modified files: > sys/amd64/linux32linux32_machdep.c > sys/i386/linux linux_machdep.c > Log: > Fix Linux mmap with MAP_GROWSDOWN flag. >

Re: cvs commit: src/etc rc.subr

2008-01-25 Thread Roman Divacky
On Fri, Jan 25, 2008 at 10:30:39AM -0700, Scott Long wrote: > Roman Divacky wrote: > >On Fri, Jan 25, 2008 at 11:05:46AM -0600, Brooks Davis wrote: > >>On Fri, Jan 25, 2008 at 09:47:43AM -0700, Scott Long wrote: > >>>Mike Makonnen wrote: > >>>>mtm

Re: cvs commit: src/etc rc.subr

2008-01-25 Thread Roman Divacky
On Fri, Jan 25, 2008 at 11:05:46AM -0600, Brooks Davis wrote: > On Fri, Jan 25, 2008 at 09:47:43AM -0700, Scott Long wrote: > > Mike Makonnen wrote: > >> mtm 2008-01-25 16:44:34 UTC > >> FreeBSD src repository > >> Modified files: > >> etc rc.subr Log: > >> Back

Re: cvs commit: src/sys/pci if_rlreg.h src/sys/dev/re if_re.c

2008-01-15 Thread Roman Divacky
> - The number of allowable Tx DMA segments for a mbuf chains are >now 32 instead of magic nseg value. If the number of available >Tx descriptors are short enough to send highly fragmented mbuf >chains an optimized re_defrag() is called to collapse mbuf >chains

Re: cvs commit: src/sys/vm vm_page.c vm_phys.c vm_phys.h

2007-12-21 Thread Roman Divacky
On Thu, Dec 20, 2007 at 10:45:55PM +, Alan Cox wrote: > alc 2007-12-20 22:45:54 UTC > > FreeBSD src repository > > Modified files: > sys/vm vm_page.c vm_phys.c vm_phys.h > Log: > Modify vm_phys_unfree_page() so that it no longer requires the given > page t

Re: cvs commit: src/sys/kern subr_param.c

2007-11-18 Thread Roman Divacky
On Tue, Oct 16, 2007 at 10:40:54AM +, Alfred Perlstein wrote: > alfred 2007-10-16 10:40:54 UTC > > FreeBSD src repository > > Modified files: > sys/kern subr_param.c > Log: > Export maxswzone, maxbcache, maxtsiz, dfldsiz, maxdsiz, dflssiz, maxssiz, > and sgrows

Re: cvs commit: src/usr.bin/top machine.c src/lib/libkvm kvm_proc.c src/bin/ps extern.h keyword.c print.c ps.c src/sys/kern init_main.c kern_exit.c kern_idle.c kern_intr.c kern_kthread.c kern_shutdown

2007-10-28 Thread Roman Divacky
around line 860 it->it_need = 1; thread_lock(td); if (TD_AWAITING_INTR(td)) { CTR3(KTR_INTR, "%s: schedule pid %d (%s)", __func__, p->p_pid, [1] th->th_name); TD_CLR_IWAIT(td); are you sure it's "th" and not "td" ? the "th

Re: cvs commit: src/sys/cam/scsi scsi_all.h

2007-10-16 Thread Roman Divacky
On Tue, Oct 16, 2007 at 01:58:00PM -0600, Scott Long wrote: > Roman Divacky wrote: > >On Fri, Oct 12, 2007 at 10:11:22PM +, Scott Long wrote: > >>scottl 2007-10-12 22:11:22 UTC > >> > >> FreeBSD src repository > >> > >> Modified fil

Re: cvs commit: src/sys/cam/scsi scsi_all.h

2007-10-16 Thread Roman Divacky
On Fri, Oct 12, 2007 at 10:11:22PM +, Scott Long wrote: > scottl 2007-10-12 22:11:22 UTC > > FreeBSD src repository > > Modified files: > sys/cam/scsi scsi_all.h > Log: > Add a bunch of definitions and structures to support newer drivers. - page_start = (void