Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751160AbXEXNsn (ORCPT ); Thu, 24 May 2007 09:48:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751028AbXEXNse (ORCPT ); Thu, 24 May 2007 09:48:34 -0400 Received: from an-out-0708.google.com ([209.85.132.243]:62546 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750806AbXEXNsc (ORCPT ); Thu, 24 May 2007 09:48:32 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=UNWW8iawX+eW2yKr6dxbHPRoGwMXpsjuPdwTMJ0ph6NBFuwSqxmhbh/ArMHFqMaID1gEc9vlILw/6KiRGHtL2a97rX3rtlb74R51Gevtm1jbH/MIVBntHguhnoMUlpcphh1J5RVEgr0skaLF7o6DTe/I+U9oGDwaFAdJ047joqg= Message-ID: <4cefeab80705240648k2f3c22ddw13374c9d6b2f521a@mail.gmail.com> Date: Thu, 24 May 2007 19:18:30 +0530 From: "Nitin Gupta" To: "Bret Towe" Subject: Re: [RFC] LZO de/compression support - take 3 Cc: linux-kernel@vger.kernel.org, "Richard Purdie" , linux-mm-cc@laptop.org, "Satyam Sharma" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_172448_31250370.1180014510535" References: <4cefeab80705230127r58e8f9e1sa644092e95eb81eb@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3553 Lines: 70 ------=_Part_172448_31250370.1180014510535 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 5/23/07, Bret Towe wrote: > On 5/23/07, Nitin Gupta wrote: > > For now, tested on x86 only. > > If you have a program to test this I can run it on an amd64 and a g4 ppc > Attached is the kernel module (compress-test) to test this LZO code. Just compile this module against 2.6.22-rc2 with this LZO patch. Then testing can be done as: 1- Mount DebugFS somewhere e.g: mkdir /debug; mount -t debugfs debugfs /debug 2- Load the module and do: cat /path/to/some_file > /debug/compress_test/compress (/var/log/messages should show that compression was successful) 3- Then decompress this file as: cat /debug/compress_test/decompress > /tmp/t (/var/log/messages should show that decompression was successful) 4- For extra verification do: diff /tmp/t /path/to/some_file -- O/P must be empty Thanks! Nitin ------=_Part_172448_31250370.1180014510535 Content-Type: application/x-gzip; name=compress-test.tar.gz Content-Transfer-Encoding: base64 X-Attachment-Id: f_f239z8ot Content-Disposition: attachment; filename="compress-test.tar.gz" H4sIAAOUVUYAA+1Y6W/bNhTPV+uveHGwQlacxEdsb3GdrU3dNGhiBznQohggKBblaJFFQ0eatsv/ vkfqMEnbtVukHYbpfbAk8h0/voukR3QyDUgY7kQkjPY2fgjVkDqdVvJs70vPlDbqtXaj1azXO832 Rq3e6DRrG9D6MXBkisPICgA2fDdy/a/wrZr/j9JIiv+ZdUcc1yNPa4MFuK3EXYp/s5HHv9nEPKnv N1vtDag9LYzF9D+PP735a2cC2z2QEmGXatq/jaygn0Fy/ctJMHoiGyvqv91pt7P6rzU6Naz/Vqfe LOr/Z9CW64+82Cbw3HP9+GHvjgQ+8XZvDzV1ZkLt2COLZmxyE4+dcNHU/cTyPDpaNOV9pvUHecIK J3uxNRphBrKJ2UxZTszbsqadDV9dn/bN05Oj/uCyr5ePz0/LlW42/Kp/eXRxcn51Mhzo5SuUcf0x ODQAm+RJ7lIfLG9MAze6nYSC8IvrqzfDC708YCGH43gaWfCcx3/M3n+r1/4YTyzX20VNh0xOC6Mg HkWAqRSFyS8bDN3PxIzyzmp+REtET3nZNgsG+60ihx8i3y0momnGIQnAuImdqlYqlVId7FEFjzoO fhjTKQ0r2het5Dqgb6afyMsM7+J6xibjhx7UEAZn4jywzfXAIZy9eG++vH792rw8+dCvwJdlwqVS QKI48GGnPxhenh/hyGOqcUSnn0wnoBMOWGc/JoJ2EPx2grA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9pAeNVpvtJrirdDOxXIAfzA3p JmRIVbFEJCvmrnJmsIkfBZ/AWND2DKl8q/n+mZGhFDhKSC1Dvdt/0bIbhHBpEW5mwuGuy08jewa8 QIUQTsnIdRDzvRW41o1HQjD2NMUlc0d0Q+gKqGyL+LbrFH/NFlRQQQUVVFBBBRVUUEEFFfTN9A8r Q2E8ACgAAA== ------=_Part_172448_31250370.1180014510535-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/