All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nitin Gupta" <nitingupta910@gmail.com>
To: "Satyam Sharma" <satyam.sharma@gmail.com>
Cc: "Richard Purdie" <richard@openedhand.com>,
	linux-kernel@vger.kernel.org, linux-mm-cc@laptop.org
Subject: Re: [RFC] LZO de/compression support - take 3
Date: Thu, 24 May 2007 19:59:01 +0530	[thread overview]
Message-ID: <4cefeab80705240729w6cf0f84fvb6cd86e19256b2b@mail.gmail.com> (raw)
In-Reply-To: <a781481a0705240407p2e9933ecm8d2c9863465cdeac@mail.gmail.com>

On 5/24/07, Satyam Sharma <satyam.sharma@gmail.com> wrote:
> Hmm. The wrappers would clearly be inline, but if we want a common
> low-level decompress function, we'd also need to introduce the "if (safe &&)"
> kind of tests for those differently-defined macros which could impact
> performance (for the _unsafe variant only, isn't it). By how much is the
> question, and whether we really care to avoid duplicating 50 lines of code
> to take that hit on the unsafe function (or vice versa).

All this just to avoid that symlink? What is so wrong with that? Yes,
the ugliest thing is some additions to top-level Makefile but I think
this the reason those prepare{1,2,3....} targets were meant for.

> > All I will add is that after the amendment I made, the ugliness in my
> > patchset is confined to one file now and I still think its the better
> > approach to take.
> >
> > My main concerns with this patch are that:
> > * from the security point of view its not tried and tested code
> > * I'm not 100% confident in what Nitin has done with the code from a
> >   buffer overflow/security PoV
> > * its not tested on many architectures
> > * the performance implications of the rewrite are unknown
>
> Right, it needs testing (for correctness and robustness). But that
> shouldn't be too difficult -- Nitin, you could just write up a simple test
> module that others can use with your patch to do testing on their
> arch's ... the more this gets tested, the better chances it's got.
>

Mailed 'compressed-test' module along with usage to Bret (CC'ed to
you, Richard, linux-kernel). This makes it very easy to test this LZO
code.


Thanks for comments.

- Nitin

  reply	other threads:[~2007-05-24 14:29 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-23  8:27 [RFC] LZO de/compression support - take 3 Nitin Gupta
2007-05-23 10:53 ` Michael-Luke Jones
2007-05-23 11:39   ` Nitin Gupta
2007-05-23 13:57     ` Michael-Luke Jones
2007-05-23 14:03       ` Nitin Gupta
2007-05-23 14:10         ` Michael-Luke Jones
2007-05-23 14:21           ` Nitin Gupta
2007-05-23 14:33             ` Michael-Luke Jones
2007-05-24 22:41               ` Richard Purdie
2007-05-24 22:54                 ` Andrew Morton
2007-05-24 23:00                   ` Richard Purdie
2007-05-23 16:16             ` Andrew Morton
2007-05-23 16:49               ` Richard Purdie
2007-05-24  4:04                 ` Nitin Gupta
2007-05-25 10:42                   ` Pavel Machek
2007-05-26 10:23                     ` Michael-Luke Jones
2007-05-26 11:17                     ` Nitin Gupta
2007-05-23 14:50 ` Bret Towe
2007-05-24 13:48   ` Nitin Gupta
2007-05-25  2:38     ` Bret Towe
2007-05-25  5:10       ` Nitin Gupta
2007-05-25 17:02         ` Bret Towe
2007-05-25 17:33           ` Nitin Gupta
2007-05-26 11:30           ` Nitin Gupta
2007-05-27  3:39             ` Bret Towe
2007-05-23 19:34 ` Satyam Sharma
2007-05-24  4:37   ` Nitin Gupta
2007-05-24 10:49     ` Satyam Sharma
2007-05-24  8:25   ` Richard Purdie
2007-05-24 11:07     ` Satyam Sharma
2007-05-24 14:29       ` Nitin Gupta [this message]
2007-05-24 19:12         ` Satyam Sharma
2007-05-24 14:20     ` Nitin Gupta
2007-05-24 20:09       ` Satyam Sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4cefeab80705240729w6cf0f84fvb6cd86e19256b2b@mail.gmail.com \
    --to=nitingupta910@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm-cc@laptop.org \
    --cc=richard@openedhand.com \
    --cc=satyam.sharma@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.