OpenVZ Forum


Home » Mailing lists » Devel » [PATCH v4 0/3] fix problem with static_branch() for sock memcg
Re: [PATCH v4 1/3] make jump_labels wait while updates are in place [message #46154 is a reply to message #46150] Fri, 27 April 2012 14:07 Go to previous messageGo to previous message
Steven Rostedt is currently offline  Steven Rostedt
Messages: 12
Registered: December 2007
Junior Member
On Fri, 2012-04-27 at 09:53 -0400, Jason Baron wrote:

> Right, for x86 which uses stop_machine currently, we guarantee that all
> cpus are going to see the updated code, before the inc of key->enabled.
> However, other arches (sparc, mips, powerpc, for example), seem to be
> using much lighter weight updates, which I hope are ok :)

And x86 will soon be removing stop_machine() from its path too. But all
archs should perform some kind of memory sync after patching code. Thus
the update should be treated as if a memory barrier was added after it,
and before the inc.

-- Steve
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 2/3] SUNRPC: traverse clients tree on PipeFS event
Next Topic: [PATCH] NFS: get module in idmap PipeFS notifier callback
Goto Forum:
  


Current Time: Wed Jul 23 18:59:36 GMT 2025

Total time taken to generate the page: 0.13723 seconds