Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1207167

Re: [PATCH v5 2/4] x86/ldt: Make modify_ldt synchronous

From "H. Peter Anvin" <hpa@zytor.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 2/4] x86/ldt: Make modify_ldt synchronous
Date 2015-08-13 23:10 +0200
Message-ID <pX7V8-6Ei-9@gated-at.bofh.it> (permalink)
References <pR5CG-86P-19@gated-at.bofh.it> <pR5Mn-8i5-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/27/2015 10:29 PM, Andy Lutomirski wrote:
> modify_ldt has questionable locking and does not synchronize
> threads.  Improve it: redesign the locking and synchronize all
> threads' LDTs using an IPI on all modifications.
> 
> This will dramatically slow down modify_ldt in multithreaded
> programs, but there shouldn't be any multithreaded programs that
> care about modify_ldt's performance in the first place.
> 

<nitpick>

... except 32-bit programs compiled with one specific version of glibc.
 Do we care?  I don't think so.

</nitpick>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v5 2/4] x86/ldt: Make modify_ldt synchronous "H. Peter Anvin" <hpa@zytor.com> - 2015-08-13 23:10 +0200

csiph-web