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


Groups > linux.kernel > #1392084

Re: [PATCH 2/2] zram: user per-cpu compression streams

From Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] zram: user per-cpu compression streams
Date 2016-05-02 11:30 +0200
Message-ID <ruikW-Pa-7@gated-at.bofh.it> (permalink)
References <rsW38-5Ij-7@gated-at.bofh.it> <rsW38-5Ij-15@gated-at.bofh.it> <rufwK-6Ok-13@gated-at.bofh.it> <rugsO-7Dm-9@gated-at.bofh.it> <ruhoS-8sl-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On (05/02/16 17:28), Minchan Kim wrote:
[..]
> > aha... I misunderstood you. I thought you talked about the test results
> > in particular, not about zram stats in general. hm, given that we don't
> > close the door for 'idle compression streams list' yet, and may revert
> > per-cpu streams, may be we can introduce this stat in 4.8? otherwise, in
> > the worst case, we will have to trim a user visible stat file once again
> > IF we, for some reason, will decide to return idle list back (hopefully
> > we will not). does it sound OK to you to not touch the stat file now?
> 
> My concern is how we can capture such regression without introducing
> the stat of recompression? Do you have an idea? :)

...hm...  inc ->failed_writes?

... or as a dirty and ugly and illegal (read "undocumented") hack, we
probably can use ->failed_reads for that purpose. simply because I don't
think any one has ever seen ->failed_reads != 0.

	-ss

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


Thread

[PATCH 0/2] zram: switch to per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-04-28 17:30 +0200
  [PATCH 2/2] zram: user per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-04-28 17:30 +0200
    Re: [PATCH 2/2] zram: user per-cpu compression streams Minchan Kim <minchan@kernel.org> - 2016-05-02 08:30 +0200
      Re: [PATCH 2/2] zram: user per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-05-02 09:30 +0200
        Re: [PATCH 2/2] zram: user per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-05-02 10:10 +0200
          Re: [PATCH 2/2] zram: user per-cpu compression streams Minchan Kim <minchan@kernel.org> - 2016-05-03 07:30 +0200
            Re: [PATCH 2/2] zram: user per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-05-03 07:50 +0200
            Re: [PATCH 2/2] zram: user per-cpu compression streams Minchan Kim <minchan@kernel.org> - 2016-05-03 07:50 +0200
              Re: [PATCH 2/2] zram: user per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-05-03 08:00 +0200
                Re: [PATCH 2/2] zram: user per-cpu compression streams Minchan Kim <minchan@kernel.org> - 2016-05-03 08:20 +0200
                Re: [PATCH 2/2] zram: user per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-05-03 09:00 +0200
        Re: [PATCH 2/2] zram: user per-cpu compression streams Minchan Kim <minchan@kernel.org> - 2016-05-02 10:30 +0200
          Re: [PATCH 2/2] zram: user per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-05-02 11:30 +0200
            Re: [PATCH 2/2] zram: user per-cpu compression streams Minchan Kim <minchan@kernel.org> - 2016-05-03 03:50 +0200
              Re: [PATCH 2/2] zram: user per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-05-03 04:00 +0200
                Re: [PATCH 2/2] zram: user per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-05-03 04:30 +0200
                Re: [PATCH 2/2] zram: user per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-05-03 06:30 +0200
                Re: [PATCH 2/2] zram: user per-cpu compression streams Minchan Kim <minchan@kernel.org> - 2016-05-03 07:10 +0200
                Re: [PATCH 2/2] zram: user per-cpu compression streams Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-05-03 09:00 +0200
                Re: [PATCH 2/2] zram: user per-cpu compression streams Minchan Kim <minchan@kernel.org> - 2016-05-03 04:30 +0200
  [PATCH 1/2] zsmalloc: require GFP in zs_malloc() Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-04-28 17:30 +0200
    Re: [PATCH 1/2] zsmalloc: require GFP in zs_malloc() Minchan Kim <minchan@kernel.org> - 2016-04-29 07:50 +0200
      Re: [PATCH 1/2] zsmalloc: require GFP in zs_malloc() Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-04-29 09:30 +0200

csiph-web