Re: [RFD] Freezing of kernel threads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sat, 12 May 2007, Pavel Machek wrote:
> 
> If you fail to do that, we'll see freezer failure, quickly, and catch
> the simple bug.

"It's a feature to add crap to drivers and subsystems that don't care!"

That's a novel thing.

Maybe we could add other features too. Like a "IM_NOT_AN_IDIOT" flag that 
every driver has to set in it's "struct device", so that the device 
manager knows that it wasn't written by an idiot.

> I'm afraid that if we default to "do not freeze by default", someone
> will just port zfs, will know nothing about suspend, and his 
> "write management info somewhere periodically" thread will corrupt
> people's disks.

Right. That's what the IM_NOT_AN_IDIOT thing will do too - it will 
guarantee that only smart people do the right thing.

Great idea. We'll get a better kernel in no tim!

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux