Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1440609

Re: [4.7.0rc6] Page Allocation Failures with dm-crypt

From Mike Snitzer <snitzer@redhat.com>
Newsgroups linux.kernel
Subject Re: [4.7.0rc6] Page Allocation Failures with dm-crypt
Date 2016-07-11 15:20 +0200
Message-ID <rTJhT-7vn-1@gated-at.bofh.it> (permalink)
References <rT0NP-3Iq-9@gated-at.bofh.it> <rTEUW-4zH-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jul 11 2016 at  4:31am -0400,
Matthias Dahl <ml_linux-kernel@binary-island.eu> wrote:

> Hello,
> 
> I made a few more tests and here my observations:
> 
> - kernels 4.4.8 and 4.5.5 show the same behavior
> 
> - the moment dd starts, memory usage spikes rapidly and within a just
>   a few seconds has filled up all 32 GiB of RAM
> 
> - dd w/ direct i/o works just fine
> 
> - mkfs.ext4 unfortunately shows the same behavior as dd w/o direct i/o
>   and such makes creation of an ext4 fs on dm-crypt a game of luck
> 
>   (much more exposed so with e2fsprogs 1.43.1)
> 
> I am kind of puzzled that this bug has seemingly gone so long unnoticed
> since it is rather severe and makes dm-crypt unusable to a certain
> degree
> for fs encryption (or at least the initial creation of the fs). Am I
> missing something here or doing something terribly stupid?

Not clear.  Certainly haven't had any reports of memory leaks with
dm-crypt.  Something must explain the execessive nature of your leak but
it isn't a known issue.

Have you tried running with kmemleak enabled?

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [4.7.0rc6] Page Allocation Failures with dm-crypt Matthias Dahl <ml_linux-kernel@binary-island.eu> - 2016-07-11 10:40 +0200
  Re: [4.7.0rc6] Page Allocation Failures with dm-crypt Mike Snitzer <snitzer@redhat.com> - 2016-07-11 15:20 +0200
    Re: [dm-devel] [4.7.0rc6] Page Allocation Failures with dm-crypt Matthias Dahl <ml_linux-kernel@binary-island.eu> - 2016-07-11 15:30 +0200
      Re: [4.7.0rc6] Page Allocation Failures with dm-crypt Mike Snitzer <snitzer@redhat.com> - 2016-07-11 15:50 +0200
    Re: [4.7.0rc6] Page Allocation Failures with dm-crypt Mike Snitzer <snitzer@redhat.com> - 2016-07-11 15:40 +0200
      Re: [dm-devel] [4.7.0rc6] Page Allocation Failures with dm-crypt Matthias Dahl <ml_linux-kernel@binary-island.eu> - 2016-07-11 16:50 +0200
        Re: [dm-devel] [4.7.0rc6] Page Allocation Failures with dm-crypt Matthias Dahl <ml_linux-kernel@binary-island.eu> - 2016-07-12 10:10 +0200

csiph-web