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] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.62.0804141812040.3058@tamago.serverit.net>
Date:	Mon, 14 Apr 2008 19:12:50 +0300 (EEST)
From:	Szabolcs Szakacsits <szaka@...s-3g.org>
To:	Anton Altaparmakov <aia21@....ac.uk>
cc:	Miklos Szeredi <miklos@...redi.hu>, dwmw2@...radead.org,
	hch@...radead.org, me@...copeland.com,
	linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH 0/7] OMFS filesystem version 3


On Mon, 14 Apr 2008, Anton Altaparmakov wrote:

> > I consider this as a benefit for FUSE file systems. An unloadable kernel
> > module results reboot which is much more intrusive.
> 
> Kernel modules don't become "unloadable" unless there is a bug.  

That's exactly what I meant. The majority of the system crashes are due to 
kernel drivers.

> The "kill -9" can happen inadvertently even without any bugs in the FUSE 
> or the FUSE-fs. 

Not really. And if so then distros solve it, as some of them already did 
(e.g. during system shutdown). 

> > The OOM killer can be configured and if the fs still uses too much memory
> > then probably it's better to be killed/restarted with journaling support.
> > The important here would be the kernel finally fixing the non-sync behavior
> > when it clams to do so (see recent kernel threads).
> 
> You don't get the point.  Any process in the system can be using too much
> memory and trigger the OOM killer even when the FS is behaving just fine...

Actually you missed when I wrote "the OOM killer can be configured".

FUSE is a new thing which sometimes requires non-conventional thinking and 
minor adjustments here and there. These works are ongoing for some years 
now.
 
> I never said it was a FUSE problem!  It is a ntfsmount/ntfs-3g problem.  At
> least a few years ago someone was trying to use ntfsmount (or ntfs-3g I can't
> remember if you had already forked it then) on a 32MiB RAM embedded ARM box
> and he was running OOM when trying to list directories due to the ntfs/fuse
> implementation.  In the kernel ntfs driver that does not happen.

Listing a directory with over 100k files can be still an ENOMEM problem 
using 32 MB RAM but of course it's solvable. Nobody was interested so far.

	Szaka

--
NTFS-3G:  http://ntfs-3g.org
--
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