Searched hist:1.433 (Results 1 - 25 of 41) sorted by relevance

12

/src/distrib/notes/common/
H A Dmain1.433 Mon Jan 26 00:14:42 GMT 2009 snj branches: 1.433.2;
Various updates to the install notes.
1.433 Mon Jan 26 00:14:42 GMT 2009 snj branches: 1.433.2;
Various updates to the install notes.
/src/etc/
H A DMakefile1.433 Sun Apr 01 04:35:02 GMT 2018 ryo branches: 1.433.2;
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
1.433 Sun Apr 01 04:35:02 GMT 2018 ryo branches: 1.433.2;
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
/src/sys/dev/pci/
H A Dpcidevs.h1.433 Sun May 19 16:02:44 GMT 2002 bouyer branches: 1.433.2;
Regen: add HPT372 and 74 PCI IDE controllers.
1.433 Sun May 19 16:02:44 GMT 2002 bouyer branches: 1.433.2;
Regen: add HPT372 and 74 PCI IDE controllers.
H A Dfiles.pci1.433 Sat Jan 30 21:26:32 GMT 2021 jmcneill Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.
H A Dpcidevs_data.h1.433 Sat May 25 07:32:25 GMT 2002 ichiro regen
/src/sys/arch/sparc64/sparc64/
H A Dlocore.s1.433 Wed Mar 01 08:18:39 GMT 2023 riastradh sparc64: Optimization: Omit needless membar when triggering softint.

When we are triggering a softint, it can't already hold any mutexes.
So any path to mutex_exit(mtx) must go via mutex_enter(mtx), which is
always done with atomic r/m/w, and we need not issue any explicit
barrier between ci->ci_curlwp = softlwp and a potential load of
mtx->mtx_owner in mutex_exit.

PR kern/57240

XXX pullup-8
XXX pullup-9
XXX pullup-10
/src/sys/dev/ata/
H A Dwd.c1.433 Thu Oct 19 20:45:07 GMT 2017 jdolecek more detailed debug info; also sync DEBUG_* values in wd.c with ata.c
/src/sys/arch/i386/conf/
H A DALL1.433 Sun Dec 10 17:52:13 GMT 2017 hannken Add option XHCI_DEBUG.
/src/sys/arch/arm/arm32/
H A Dpmap.c1.433 Sat Mar 12 15:32:31 GMT 2022 riastradh sys: Membar audit around reference count releases.

If two threads are using an object that is freed when the reference
count goes to zero, we need to ensure that all memory operations
related to the object happen before freeing the object.

Using an atomic_dec_uint_nv(&refcnt) == 0 ensures that only one
thread takes responsibility for freeing, but it's not enough to
ensure that the other thread's memory operations happen before the
freeing.

Consider:

Thread A Thread B
obj->foo = 42; obj->baz = 73;
mumble(&obj->bar); grumble(&obj->quux);
/* membar_exit(); */ /* membar_exit(); */
atomic_dec -- not last atomic_dec -- last
/* membar_enter(); */
KASSERT(invariant(obj->foo,
obj->bar));
free_stuff(obj);

The memory barriers ensure that

obj->foo = 42;
mumble(&obj->bar);

in thread A happens before

KASSERT(invariant(obj->foo, obj->bar));
free_stuff(obj);

in thread B. Without them, this ordering is not guaranteed.

So in general it is necessary to do

membar_exit();
if (atomic_dec_uint_nv(&obj->refcnt) != 0)
return;
membar_enter();

to release a reference, for the `last one out hit the lights' style
of reference counting. (This is in contrast to the style where one
thread blocks new references and then waits under a lock for existing
ones to drain with a condvar -- no membar needed thanks to mutex(9).)

I searched for atomic_dec to find all these. Obviously we ought to
have a better abstraction for this because there's so much copypasta.
This is a stop-gap measure to fix actual bugs until we have that. It
would be nice if an abstraction could gracefully handle the different
styles of reference counting in use -- some years ago I drafted an
API for this, but making it cover everything got a little out of hand
(particularly with struct vnode::v_usecount) and I ended up setting
it aside to work on psref/localcount instead for better scalability.

I got bored of adding #ifdef __HAVE_ATOMIC_AS_MEMBAR everywhere, so I
only put it on things that look performance-critical on 5sec review.
We should really adopt membar_enter_preatomic/membar_exit_postatomic
or something (except they are applicable only to atomic r/m/w, not to
atomic_load/store_*, making the naming annoying) and get rid of all
the ifdefs.

/src/distrib/sets/lists/debug/
H A Dmi1.433 Sun Apr 28 01:21:26 GMT 2024 riastradh libstdc++: Add test for PR lib/58206, sync_with_stdio busted.
/src/share/man/man9/
H A DMakefile1.433 Sat Dec 22 14:39:46 GMT 2018 maxv Update the man page, we don't want M_COPY_PKTHDR, M_MOVE_PKTHDR, MH_ALIGN
and M_ALIGN.
/src/share/mk/
H A Dbsd.README1.433 Thu May 26 06:23:57 GMT 2022 nia mk: Document that some options were enabled by default on aarch64
/src/share/man/man4/
H A Doptions.41.433 Sun Feb 02 04:28:42 GMT 2014 manu Add EMUL_NATIVEROOT so that native binaries can be told to search an
"emulation" directory before the real root. This makes easier to test
an amd64 kernel on the top of an i386 root filesystem prior a full
migration.
H A DMakefile1.433 Wed Jun 20 13:31:54 GMT 2007 tsutsui sn(4) driver on mac68k has been switched to using MI SONIC driver,
so prepare MI sn(4) man page. Also improve some descriptions.
/src/sys/dev/usb/
H A Dusbdevs1.433 Fri Jun 30 13:56:25 GMT 2006 chap Ankh-Morpork, we have a MIDI driver....

Merge from chap-midi branch, after
~month for review
Comments by thorpej@ drochner@ and Alexandre Ratchov

Incorporated: points by thorpej@ drochner@; preliminary support for
a stats-collecting ioctl suggested by martin@ from comments by A.R.

PR kern/32441 kern/32442 kern/32567 kern/32588 kern/32694 kern/33590
kern/33614 and one instance of kern/32651

ok martin@
H A Dusbdevs.h1.433 Tue Jun 06 08:54:27 GMT 2006 tron Regen.
H A Dusbdevs_data.h1.433 Tue Jun 06 06:21:29 GMT 2006 grant regen.
/src/usr.bin/xlint/lint1/
H A Dcgram.y1.433 Mon Feb 06 21:01:55 GMT 2023 rillig lint: eliminate unnecessary indirection

No functional change.
H A Dtree.c1.433 Sat Apr 16 22:21:10 GMT 2022 rillig lint: merge mod_t.m_test_context into m_requires_bool

These two flags mean exactly the same.

No functional change.
/src/sys/kern/
H A Dinit_main.c1.433 Sat Jul 02 17:53:50 GMT 2011 bouyer Fix kern/45093 as discussed on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2011/06/17/msg010734.html

The cause of the problem is that the so_pendfree is processed with
the softnet_lock held at one point, and processing the list
calls sodoloanfree() which may kpause(). As the thread sleeps with
softnet_lock held, it ultimately cause a deadlock (see the PR or tech-kern
thread for details).
Although it should be possible to call sodopendfree() after releasing
the socket lock, it's not so easy to know where he socket lock is held and
where it's not, so we may hit the issue again later.
Add a kernel thread to handle the so_pendfree list, and wake up this
thread when adding mbufs to this list. Get rid of the various sodopendfree()
calls, hopefully fixing definitively the problem.
H A Dkern_exec.c1.433 Thu Jun 09 00:17:45 GMT 2016 christos fix variable name
H A Dvfs_subr.c1.433 Tue Mar 13 18:40:55 GMT 2012 elad Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.
/src/sys/net/
H A Dif.c1.433 Fri Aug 10 10:31:01 GMT 2018 knakahara fix if_snd_is_used(), ifp->if_snd is also used by if.c::if_transmit().
/src/sys/arch/amd64/conf/
H A DGENERIC1.433 Sat May 14 17:11:30 GMT 2016 christos Turn on MPROTECT on GENERIC and both MPROTECT and ASLR on XEN*
/src/usr.bin/make/
H A Djob.c1.433 Wed Jun 16 03:15:47 GMT 2021 rillig make: clean up comment for JobStart

The parameter 'flags' was renamed in job.c 1.354 from 2020-12-10 without
adjusting the documentation.

The parameter 'previous' was removed in job.c 1.108 from 2006-03-12,
also without adjusting the documentation of JobStart.

No functional change.

Completed in 1009 milliseconds

12