SVNews r324437

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-10-09 16:07:27 - r324437 by kib (Konstantin Belousov)

Complete list of files affected by revision r324437:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/i386/i386/swtch.s  
  History   Contents   Diff   MODIFY   /head/sys/i386/i386/sys_machdep.c  

Commit message:

Improvements to set_user_ldt().

Remove mtx_owned() checks from set_user_ldt(). Split the function
into _locked() version which requires the dt_lock spinlock owned, and
make set_user_ldt() a wrapper. Add a comment in swtch.s noting that
the call to the new set_user_ldt() cannot recurse on dt_lock.

Remove #ifdef SMP block, the addend is always zero on UP.

Fix type of set_user_ldt_rv(), making it match the type used for
smb_rendezvous() callback, and remove the cast. Use curproc.

Reviewed by: bde
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 7 ms, 2 files printed. Current time is 2017-10-22 01:12:22. All times are in UTC/GMT.