Home | History | Annotate | Download | only in rumpkern
History log of /src/sys/rump/librump/rumpkern/klock.c
RevisionDateAuthorComments
 1.11  23-Jun-2023  riastradh rump: KASSERT(x && y) -> KASSERT(x); KASSERT(y)

Add some KASSERTMSG while here.
 1.10  07-Jul-2016  msaitoh KNF. Remove extra spaces. No functional change.
 1.9  26-Jan-2016  pooka Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories. Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.
 1.8  30-Apr-2013  pooka branches: 1.8.12;
Make hypercall calling conventions consistent: iff a hypercall can fail,
it returns an int containing the error value.
 1.7  29-Apr-2013  pooka remove routine not meant to be committed
 1.6  29-Apr-2013  pooka Make the rump kernel upcalls which were previous available only to
the sysproxy module available for the entire hypervisor.
 1.5  09-Oct-2012  pooka Gather some statistics about biglock usage.
 1.4  20-Feb-2012  mrg branches: 1.4.2;
add a _kernel_locked_p().
 1.3  01-Dec-2010  pooka branches: 1.3.8; 1.3.12; 1.3.14; 1.3.18; 1.3.20;
Track lwp as the rumpuser mutex owner instead of pthread_t (this
is done in rumpuser for simplicity, since on the kernel side things
we assume we have only one pointer of space). As a side-effect,
we can no longer know if the current thread is holding on to a
mutex locked without curlwp context (basically all mutexes inited
outside of mutex_init()). The only thing that called rumpuser_mutex_held()
for a non-kmutex was the giant lock. So, instead implement recursive
locking for the giant lock in the rump kernel and get rid of the
now-unused recursive pthread mutex in the hypercall interface.
 1.2  18-May-2010  pooka branches: 1.2.2; 1.2.4; 1.2.6;
Namespace rump-only kernel biglock routines appropriately.

No functional change.
 1.1  18-May-2010  pooka Move routines related to kernel locking and scheduling from
locks.c to klock.c.

No functional change.
 1.2.6.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.2.6.1  18-May-2010  uebayasi file klock.c was added on branch uebayasi-xip on 2010-08-17 06:48:01 +0000
 1.2.4.2  11-Aug-2010  yamt sync with head.
 1.2.4.1  18-May-2010  yamt file klock.c was added on branch yamt-nfs-mp on 2010-08-11 22:55:06 +0000
 1.2.2.3  05-Mar-2011  rmind sync with head
 1.2.2.2  30-May-2010  rmind sync with head
 1.2.2.1  18-May-2010  rmind file klock.c was added on branch rmind-uvmplock on 2010-05-30 05:18:06 +0000
 1.3.20.1  18-Jun-2014  msaitoh Pull up following revision(s) (requested by bouyer in ticket #1067):
sys/dist/ipf/netinet/ip_fil_netbsd.c 1.9 via patch
sys/net/if_ethersubr.c 1.197 via patch
sys/net/if_loop.c 1.77 via patch
sys/net/if_vlan.c 1.70 via patch
sys/netinet/if_arp.c 1.158
sys/netinet/ip_carp.c 1.54 via patch
sys/netinet6/ip6_flow.c 1.23 via patch
sys/netinet6/nd6.c 1.150 via patch
sys/rump/librump/rumpkern/klock.c 1.4

Make sure *(if_output)() is called with KERNEL_LOCK held to avoid mbuf leak.
See http://mail-index.netbsd.org/tech-net/2014/04/09/msg004511.html
for details. For netinet6, the problem report, fix and test were done
by njoly@ on current-users@
 1.3.18.1  18-Jun-2014  msaitoh Pull up following revision(s) (requested by bouyer in ticket #1067):
sys/dist/ipf/netinet/ip_fil_netbsd.c 1.9 via patch
sys/net/if_ethersubr.c 1.197 via patch
sys/net/if_loop.c 1.77 via patch
sys/net/if_vlan.c 1.70 via patch
sys/netinet/if_arp.c 1.158
sys/netinet/ip_carp.c 1.54 via patch
sys/netinet6/ip6_flow.c 1.23 via patch
sys/netinet6/nd6.c 1.150 via patch
sys/rump/librump/rumpkern/klock.c 1.4

Make sure *(if_output)() is called with KERNEL_LOCK held to avoid mbuf leak.
See http://mail-index.netbsd.org/tech-net/2014/04/09/msg004511.html
for details. For netinet6, the problem report, fix and test were done
by njoly@ on current-users@
 1.3.14.1  03-Jun-2014  msaitoh Pull up following revision(s) (requested by bouyer in ticket #1067):
sys/dist/ipf/netinet/ip_fil_netbsd.c 1.9 via patch
sys/net/if_ethersubr.c 1.197 via patch
sys/net/if_loop.c 1.77 via patch
sys/net/if_vlan.c 1.70 via patch
sys/netinet/if_arp.c 1.158
sys/netinet/ip_carp.c 1.54 via patch
sys/netinet6/ip6_flow.c 1.23 via patch
sys/netinet6/nd6.c 1.150 via patch
sys/rump/librump/rumpkern/klock.c 1.4

Make sure *(if_output)() is called with KERNEL_LOCK held to avoid mbuf leak.
See http://mail-index.netbsd.org/tech-net/2014/04/09/msg004511.html
for details. For netinet6, the problem report, fix and test were done
by njoly@ on current-users@
 1.3.12.1  20-Feb-2012  mrg pull across from -current:
>add a _kernel_locked_p().
 1.3.8.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3.8.2  30-Oct-2012  yamt sync with head
 1.3.8.1  17-Apr-2012  yamt sync with head
 1.4.2.3  03-Dec-2017  jdolecek update from HEAD
 1.4.2.2  23-Jun-2013  tls resync from head
 1.4.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.12.2  09-Jul-2016  skrll Sync with HEAD
 1.8.12.1  19-Mar-2016  skrll Sync with HEAD

RSS XML Feed