Searched hist:1.516 (Results 1 - 25 of 31) sorted by relevance

12

/src/sys/dev/usb/
H A Dusbdevs_data.h1.516 Sat Oct 25 17:37:31 GMT 2008 christos branches: 1.516.2; 1.516.4;
regen.
1.516 Sat Oct 25 17:37:31 GMT 2008 christos branches: 1.516.2; 1.516.4;
regen.
1.516 Sat Oct 25 17:37:31 GMT 2008 christos branches: 1.516.2; 1.516.4;
regen.
H A Dusbdevs1.516 Sun Oct 19 11:36:11 GMT 2008 joerg Sync list of 3G cards with FreeBSD.
H A Dusbdevs.h1.516 Thu Nov 20 10:51:51 GMT 2008 jnemeth regen for Corega CG-USBRS232R
/src/share/man/man4/
H A DMakefile1.516 Sat Apr 10 17:55:25 GMT 2010 jruoho branches: 1.516.2;
Move vald(4) to sys/dev/acpi. This is MI and should work also on amd64.

ok jmcneill@

XXX: This is broken: it calls methods with absolute pathnames (almost
guaranteed not to be portable across models), it accesses methods
that are in the domain of other drivers, it walks the namespace on
its own, it contains plenty of magic constants, it does not
integrate with existing KPIs, etc. Summa summarum: this should be
rewritten as a more generic toshiba_acpi(4).

1.516 Sat Apr 10 17:55:25 GMT 2010 jruoho branches: 1.516.2;
Move vald(4) to sys/dev/acpi. This is MI and should work also on amd64.

ok jmcneill@

XXX: This is broken: it calls methods with absolute pathnames (almost
guaranteed not to be portable across models), it accesses methods
that are in the domain of other drivers, it walks the namespace on
its own, it contains plenty of magic constants, it does not
integrate with existing KPIs, etc. Summa summarum: this should be
rewritten as a more generic toshiba_acpi(4).

H A Doptions.41.516 Fri Aug 28 16:07:49 GMT 2020 fcambus Fix a bunch of typos in various device drivers and kernel man pages.
/src/sys/arch/i386/conf/
H A DALL1.516 Wed Mar 20 17:11:42 GMT 2024 riastradh apei(4): New driver for ACPI Platform Error Interfaces.

For now it is wired up only in x86 ALL kernels, and built as a module
for x86 and Arm. Once it gets a little more testing on machines with
APEI, I would like to flip it on by default.

PR kern/58046

H A DGENERIC1.516 Sat Oct 05 16:02:39 GMT 2002 elric add [commented out] cgd's to generic kernel configs.
/src/distrib/notes/common/
H A Dmain1.516 Mon Jan 19 20:25:29 GMT 2015 sevan Added myself
/src/usr.bin/xlint/lint1/
H A Dcgram.y1.516 Sun Dec 01 18:37:54 GMT 2024 rillig lint: warn about function definitions that still use identifier lists
H A Dtree.c1.516 Sat Apr 22 17:42:29 GMT 2023 rillig lint: don't warn about cast between union and one of its member types

Seen in src/sbin/newfs_udf/udf_core.c for context.anchors.
/src/sys/kern/
H A Dinit_main.c1.516 Wed Jan 01 22:57:17 GMT 2020 thorpej - Introduce a new global kernel variable "shutting_down" to indicate that
the system is shutting down or rebooting.
- Set this global in a new function called kern_reboot(), which is currently
just a basic wrapper around cpu_reboot().
- Call kern_reboot() instead of cpu_reboot() almost everywhere; a few
places remain where it's still called directly, but those are in early
pre-main() machdep locations.

Eventually, all of the various cpu_reboot() functions should be re-factored
and common functionality moved to kern_reboot(), but that's for another day.

H A Dkern_exec.c1.516 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/net/
H A Dif.c1.516 Sat Aug 20 14:05:22 GMT 2022 riastradh ifnet(9): On if_deactivate, don't make null if_slowtimo nonnull.

Fixes crash on detach.

/src/sys/arch/amd64/conf/
H A DGENERIC1.516 Fri Feb 15 08:54:01 GMT 2019 nonaka Added Microsoft Hyper-V support. It ported from OpenBSD and FreeBSD.

graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.
/src/sys/dev/pci/
H A Dpcidevs.h1.516 Thu Mar 13 17:55:57 GMT 2003 joda regen: more nvidia devices
H A Dpcidevs_data.h1.516 Thu Mar 20 05:50:13 GMT 2003 thorpej Regen; add more LSI MPT IDs.
/src/usr.bin/make/
H A Djob.c1.516 Fri Jun 13 06:13:19 GMT 2025 rillig make: do not discard empty lines in the output of a command

H A Dmain.c1.516 Sat Jan 23 11:34:41 GMT 2021 rillig make(1): rename Dir_AddDir, reorder parameters of SearchPath_ToFlags

H A Dparse.c1.516 Wed Dec 23 14:13:49 GMT 2020 rillig make(1): fix a few lint warnings
/src/sys/arch/i386/i386/
H A Dmachdep.c1.516 Mon Mar 03 22:14:16 GMT 2003 fvdl The IDT only contains gate descriptors, so define it as such.
/src/distrib/sets/lists/base/
H A Dshl.mi1.516 Tue Jan 19 22:46:33 GMT 2010 pooka add rumpdev_bpf to setlists
H A Dmi1.516 Mon Jan 10 03:13:04 GMT 2005 lukem Support ${MKINET6} == "no".
/src/doc/
H A D3RDPARTY1.516 Sat Mar 10 23:07:11 GMT 2007 christos new openssh.
/src/sys/sys/
H A Dparam.h1.516 Thu Dec 15 09:39:24 GMT 2016 ozaki-r Bump for move of bpf_mtap and if_ipackets++

Welcome to 7.99.49

/src/distrib/sets/lists/man/
H A Dmi1.516 Wed Sep 25 01:07:43 GMT 2002 wiz Add auto-generated MAKEDEV(8) for ofppc.

Completed in 1182 milliseconds

12