Searched hist:1.502 (Results 1 - 25 of 32) sorted by relevance

12

/src/sys/kern/
H A Dkern_exec.c1.502 Tue Oct 06 13:38:00 GMT 2020 christos branches: 1.502.2;
Make MAXTSIZ optional.
1.502 Tue Oct 06 13:38:00 GMT 2020 christos branches: 1.502.2;
Make MAXTSIZ optional.
H A Dinit_main.c1.502 Wed Jan 23 13:38:30 GMT 2019 kamil Change the place of initproc initialization

The initproc variable cannot be initialized in start_init as there
is a race between vfs_mountroot and start_init.

PR kern/53817 by Andreas Gustafsson
H A Dvfs_subr.c1.502 Sat Dec 07 02:27:38 GMT 2024 riastradh vfs(9): Sprinkle SET_ERROR dtrace probes.

PR kern/58378: Kernel error code origination lacks dtrace probes
/src/sys/arch/i386/conf/
H A DALL1.502 Sun Aug 07 02:52:26 GMT 2022 simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
H A DGENERIC1.502 Mon Jul 22 11:06:00 GMT 2002 wiz Sync (commented out) SHMMAXPGS value with vmparam.h.
Closes port-i386/12708 by Patrick Welche.
/src/distrib/notes/common/
H A Dmain1.502 Thu Jan 23 22:52:15 GMT 2014 szptvlfn + szptvlfn.
/src/share/man/man4/
H A Doptions.41.502 Tue May 21 16:18:07 GMT 2019 sevan Document APPLE_UFS
H A DMakefile1.502 Sat Feb 06 11:26:56 GMT 2010 tonio Add uthum(4) man page
/src/sys/dev/usb/
H A Dusbdevs1.502 Tue Jul 08 08:47:32 GMT 2008 uebayasi WILLCOM Advanced W-ZERO3[es] device IDs. From Ryo Shimizu.
H A Dusbdevs.h1.502 Fri Aug 22 03:23:30 GMT 2008 matt Regen.
H A Dusbdevs_data.h1.502 Mon Aug 18 11:49:34 GMT 2008 cegger regen.
/src/usr.bin/xlint/lint1/
H A Dcgram.y1.502 Sun May 12 08:48:36 GMT 2024 rillig lint: move code for parsing balanced token sequences to lex.c

To access yytext from lex.c, the lexer needs to be in %pointer mode,
which was specified in IEEE Std 1003.1, 2004 Edition and thus should be
old enough to be available on platforms other than NetBSD, for use in
tools/lint1 where lint1 is built before yacc and lex.
H A Dtree.c1.502 Sun Jan 29 17:13:10 GMT 2023 rillig lint: don't warn about negative '>>' when the actual value is positive
/src/share/mk/
H A Dbsd.own.mk1.502 Sat Feb 09 19:31:36 GMT 2008 jmmv branches: 1.502.2;
Add a MKMODULAR build-time option, defaulting to no, to enable the new
kernel modules framework.
1.502 Sat Feb 09 19:31:36 GMT 2008 jmmv branches: 1.502.2;
Add a MKMODULAR build-time option, defaulting to no, to enable the new
kernel modules framework.
/src/sys/net/
H A Dif.c1.502 Sat Mar 12 15:32:32 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/sys/arch/amd64/conf/
H A DGENERIC1.502 Mon Aug 13 17:37:52 GMT 2018 mrg use dev/usb/usbdevices.config, gaining these missing drivers:
slurm(4), uthum(4), umcs(4), uark(4), upgt(4), and usmsc(4).
/src/sys/dev/pci/
H A Dpcidevs.h1.502 Fri Jan 24 03:16:08 GMT 2003 thorpej Regen; add Nvidia nForce2 ATA133 IDE.
H A Dpcidevs_data.h1.502 Fri Jan 24 17:47:18 GMT 2003 thorpej Regen; Tweak a Promise description.
/src/usr.bin/make/
H A Djob.c1.502 Fri May 09 20:19:11 GMT 2025 rillig make: clean up constant names and function names

H A Dmain.c1.502 Wed Dec 23 14:13:49 GMT 2020 rillig make(1): fix a few lint warnings
H A Dparse.c1.502 Sat Dec 19 20:16:36 GMT 2020 rillig make(1): extract Var_Undef from ParseDirective
/src/sys/arch/i386/i386/
H A Dmachdep.c1.502 Fri Dec 06 05:03:02 GMT 2002 junyoung Rename amd_cpuid_cpu_cacheinfo() to amd_cpu_cacheinfo().
/src/distrib/sets/lists/base/
H A Dshl.mi1.502 Sun Oct 25 00:17:06 GMT 2009 tsarna Major enhancements to mdnsd nsswitch support:

- nss_mdns renamed to nss_multicast_dns for clarity and less chance of
confusion with nss_mdnsd (see next).
- Support using mdnsd for all unicast too with new nss_mdnsd module
(note: this mode requires an updated mdnsd too, not yet committed)
- Implement resolv.conf "search" directive support. Needed for nss_mdnsd,
potentially useful with nss_multicast_dns (you could now do
"search example.com local" in resolv.conf if you wanted to and it would
act as you might expect)
- Add references in nsswitch.conf man page and sample file
- Implement AI_CANONNAME
- Various bug fixes
/src/doc/
H A D3RDPARTY1.502 Sun Jan 14 08:46:45 GMT 2007 martti IPF 4.1.16
/src/sys/sys/
H A Dparam.h1.502 Sat Aug 20 00:37:09 GMT 2016 hannken Remove now obsolete operation vcache_remove().

Welcome to 7.99.36

Completed in 1219 milliseconds

12