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


Groups > linux.kernel > #1207167 > unrolled thread

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

Started by"H. Peter Anvin" <hpa@zytor.com>
First post2015-08-13 23:10 +0200
Last post2015-08-13 23:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

From"H. Peter Anvin" <hpa@zytor.com>
Date2015-08-13 23:10 +0200
SubjectRe: [PATCH v5 2/4] x86/ldt: Make modify_ldt synchronous
Message-ID<pX7V8-6Ei-9@gated-at.bofh.it>
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web