Re: [PATCH] VFS: make file->f_pos access atomic on 32bit arch

Previous thread: motherboard recommendations? by Jacek Poplawski on Tuesday, September 16, 2008 - 6:57 am. (10 messages)

Next thread: Re: 2.6.26.5-rt9 by Alexander Pazdnikov on Tuesday, September 16, 2008 - 7:16 am. (1 message)
From: Michael Trimarchi
Date: Tuesday, September 16, 2008 - 6:57 am

Hi,




 i was thinking about introducing a file_pos_update() not implemented using 
file_pos_read()/file_pos_write() and taking the seq_lock or 
disabling preemption only one time

__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 
--

From: Nick Piggin
Date: Tuesday, September 16, 2008 - 7:11 am

AFAIK, the only way to do an atomic 64 bit store on 32-bit x86 is
"cmpxchg8b" (with lock prefix on SMP). That would be far slower
I'm sure.
--

Previous thread: motherboard recommendations? by Jacek Poplawski on Tuesday, September 16, 2008 - 6:57 am. (10 messages)

Next thread: Re: 2.6.26.5-rt9 by Alexander Pazdnikov on Tuesday, September 16, 2008 - 7:16 am. (1 message)