Searched hist:696 (Results 1 - 5 of 5) sorted by relevance

/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_audio.cdiff 317974 Mon May 08 20:13:45 MDT 2017 gonzo MFC r308424, r310636

r308424:
Fix locking in bcm2835_audio driver

- Move all VCHI activity to worker thread: channel methods are called with
non-sleepable lock held and VCHI uses sleepable lock.

- In worker thread use sx(9) lock instead of mutex(9) for the same reason.

PR: 213801, 205979

r310636:
[rpi] Fix bcm2835_audio locking and samples starvation

Rework general approach to locking and working with audio worker thread:

- Use flags to signal requested worker action
- Fix submitted buffer calculations to avoid samples starvation
- Protect buffer pointers with locks to fix race condition between callback
and audio worker thread
- Remove unnecessary vchi_service_use
- Do not use lock to serialize VCHI requests since only one thread issues them now
- Fix unloading signaling per hselasky@ suggestion
- Add output to detect inconsistent callback data caused by possible firmware bug
https://github.com/raspberrypi/firmware/issues/696
- Add stats/debug sysctls to troubleshoot possible bugs

PR: 213687, 205979, 215194
/freebsd-11-stable/sbin/ldconfig/
H A DMakefile696 Wed Nov 03 21:41:59 MST 1993 paul Imported NetBSD's ld for shared libs.
H A Dldconfig.c696 Wed Nov 03 21:41:59 MST 1993 paul Imported NetBSD's ld for shared libs.
/freebsd-11-stable/lib/libc/gen/
H A Ddirectory.3diff 305567 Wed Sep 07 15:14:39 MDT 2016 jilles MFC r305154: directory(3): Deprecate readdir_r(). Clarify dirent buffers.

In existing implementations including FreeBSD, there is no reason to use
readdir_r() in the common case where potentially multiple threads each list
their own directory. Code using readdir() is simpler.

What's more, although readdir_r() can safely be used on FreeBSD because
NAME_MAX is forced to 255, it cannot be used safely on systems where
{NAME_MAX} is not fixed. As a concrete example, FAT/NTFS filenames can be up
to 255 UTF-16 code units long, which can be up to 765 UTF-8 bytes.

Deprecating readdir_r() in POSIX has been proposed in
http://www.austingroupbugs.net/view.php?id=696
and glibc wants to deprecate it as well.
/freebsd-11-stable/usr.bin/ldd/
H A Dldd.c696 Wed Nov 03 21:41:59 MST 1993 paul Imported NetBSD's ld for shared libs.

Completed in 100 milliseconds