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: <ada1vmqpry7.fsf@cisco.com>
Date:	Tue, 01 Sep 2009 09:09:36 -0700
From:	Roland Dreier <rdreier@...co.com>
To:	Oleg Nesterov <oleg@...hat.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org,
	Dmitry Torokhov <dmitry.torokhov@...il.com>,
	Stefan Richter <stefanr@...6.in-berlin.de>
Subject: Re: [PATCH 1/1] introduce __cancel_delayed_work()


 > cancel_delayed_work() has to use del_timer_sync() to guarantee the
 > timer function is not running after return. But most users doesn't
 > actually need this, and del_timer_sync() has problems: it is not
 > useable from interrupt, and it depends on every lock which could
 > be taken from irq.
 > 
 > Introduce __cancel_delayed_work() which calls del_timer() instead.
 > 
 > The immediate reason for this patch is
 > http://bugzilla.kernel.org/show_bug.cgi?id=13757
 > but hopefully this helper makes sense anyway.

Thanks, Oleg!

Andrew -- how do you want to handle this?  This seems to be useful for
the bug with IB that Oleg linked to, as well as by Dmitry in input, so
I'm not sure what the best way to merge all this into 2.6.32 is.

I could take Oleg's patch and the corresponding fix to
drivers/infiniband through my tree, and merge as early I as I see Linus
open 2.6.32.  That leaves Dmitry to wait on it (and possibly causes
problems in -next with tree ordering) though.  But I don't see any way
to get the number of cross-tree dependencies below 1... (unless maybe
Dmitry can take the identical workqueue patch into his tree and trust
git to sort it out?)

 - R.
--
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