mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* RE: highmem deadlock fix [was Re: VM in 2.4.10(+tweaks) vs. 2.4.9 -ac14/15(+stuff)]
@ 2001-09-27 22:34 Robert_Macaulay
  2001-09-27 22:37 ` Andrea Arcangeli
  0 siblings, 1 reply; 3+ messages in thread
From: Robert_Macaulay @ 2001-09-27 22:34 UTC (permalink / raw)
  To: andrea; +Cc: riel, ckulesa, linux-kernel, bmatthews, marcelo, torvalds



> -----Original Message-----
> From: Andrea Arcangeli [mailto:andrea@suse.de]
> Sent: Thursday, September 27, 2001 5:13 PM
> To: Macaulay, Robert
> Cc: Rik van Riel; Craig Kulesa; linux-kernel@vger.kernel.org; Bob
> Matthews; Marcelo Tosatti; Linus Torvalds
> Subject: highmem deadlock fix [was Re: VM in 2.4.10(+tweaks) vs.
> 2.4.9-ac14/15(+stuff)]
> 
> @@ -2519,7 +2521,9 @@
>  	int tryagain = 1;
>  
>  	do {
> -		if (buffer_dirty(p) || buffer_locked(p)) {
> +		if (unlikely(buffer_pending_IO(p)))
> +			tryagain = 0;
> +		else if (buffer_dirty(p) || buffer_locked(p)) {
>  			if (test_and_set_bit(BH_Wait_IO, &p->b_state)) {
>  				if (buffer_dirty(p)) {
>  					ll_rw_block(WRITE, 1, &p);
> 

Im getting an undefined reference to the unlikely function in this patch.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-09-27 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-27 22:34 highmem deadlock fix [was Re: VM in 2.4.10(+tweaks) vs. 2.4.9 -ac14/15(+stuff)] Robert_Macaulay
2001-09-27 22:37 ` Andrea Arcangeli
2001-09-27 22:39   ` Andrea Arcangeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®