lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1InfZx-0004Eu-00@dorka.pomaz.szeredi.hu>
Date:	Thu, 01 Nov 2007 20:19:45 +0100
From:	Miklos Szeredi <miklos@...redi.hu>
To:	peterz@...radead.org
CC:	jdike@...toit.com, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org, hch@...radead.org,
	akpm@...ux-foundation.org, viro@...iv.linux.org.uk
Subject: Re: per-bdi-throttling: synchronous writepage doesn't work
	correctly

> > 
> >       See the file "Locking" for more details.
> > 
> > 
> > The "should set PG_Writeback" bit threw me off I guess.
> 
> Hmm, set_page_writeback() is also the one clearing the radix tree dirty
> tag. So if that is not called, we get in a bit of a mess, no?
> 
> Which makes me think hostfs is buggy.

Yes, looks like that sort of usage is not valid.  But not clearing the
dirty tag won't cause any malfunction, it'll just waste some CPU when
looking for dirty pages to write back.  This is probably why this
wasn't noticed earlier.

Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ