mjg 5bb6a8bca1 filedesc: get rid of atomic_load_acq_int from fget_unlocked
A read barrier was necessary because fd table pointer and table size were
updated separately, opening a window where fget_unlocked could read new size
and old pointer.

This patch puts both these fields into one dedicated structure, pointer to which
is later atomically updated. As such, fget_unlocked only needs data a dependency
barrier which is a noop on all supported architectures.

Reviewed by:	kib (previous version)
MFC after:	2 weeks
2014-10-30 05:10:33 +00:00
..
2014-10-04 18:35:00 +00:00
2014-10-09 15:19:35 +00:00
2014-10-28 04:59:33 +00:00
2014-10-04 18:35:00 +00:00
2014-09-03 08:40:16 +00:00
2014-03-14 06:29:43 +00:00
2014-06-26 13:57:44 +00:00
2014-05-01 22:28:14 +00:00
2014-08-11 15:06:07 +00:00
2014-10-09 15:19:35 +00:00
2014-03-18 21:34:11 +00:00
2014-10-15 12:38:26 +00:00
2014-10-09 02:30:38 +00:00
2014-08-03 22:37:21 +00:00
2014-10-22 01:53:00 +00:00