Thread (2 messages) 2 messages, 2 authors, 2003-01-29

Re: Linus rollup

From: David Mosberger <hidden>
Date: 2003-01-29 19:05:08

quoted
quoted
quoted
quoted
On Wed, 29 Jan 2003 17:25:19 +0000, Russell King [off-list ref] said:
  Russell> I was only concerned because it looks like it might be a
  Russell> problem on some implementations, and I was wondering what
  Russell> would happen on ia64 if a timer interrupt occurs between
  Russell> reading jiffies and itm_next in gettimeoffset.

Perhaps I'm missing something, but I thought that in this case,
fr_write_unlock() would increment the counter and cause the reader(s)
to restart the reading of the time-related variables.

I do agree that, in general, there is a potential deadlock if
gettimeoffset() is not lock-free.

	--david
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help