From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760237AbYEEUcR (ORCPT ); Mon, 5 May 2008 16:32:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752595AbYEEUcC (ORCPT ); Mon, 5 May 2008 16:32:02 -0400 Received: from fg-out-1718.google.com ([72.14.220.157]:20431 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbYEEUcB (ORCPT ); Mon, 5 May 2008 16:32:01 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ajaEuix6cz+TgslKkDz4k2R14s+OMoZv7jE3yHlFSL1J3RSk6QpyKffXcWt8e0Ut22hj5szp6ISqO/YFhWz/kLlw7fV2t0b6jd5s63MIOVKY3JzSQmHV1LyEpUK0R8CNoxaBSGqD7FlMXBHQ99jEuJG3sRUy9rzT/wQpFRi2Z6I= Message-ID: <30c6373b0805051331l11a71eacv5cb9a5221f8f26f9@mail.gmail.com> Date: Mon, 5 May 2008 13:31:29 -0700 From: "Kevin Burton" To: "Andi Kleen" Subject: Re: Ability to limit or disable page caching? Cc: "FD Cami" , linux-kernel@vger.kernel.org In-Reply-To: <30c6373b0805051328n30d32202g3744a233c7efb2dd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <30c6373b0805050012o505c0540i116a31bc1ab9ce9f@mail.gmail.com> <20080505131607.5556b1f2@olorin> <30c6373b0805051134m634efbbdn45167c1eae29df4a@mail.gmail.com> <20080505212831.22371732@olorin> <30c6373b0805051242o2f38f0a3v62bd43f4fa01559e@mail.gmail.com> <878wyocy0v.fsf@basil.nowhere.org> <30c6373b0805051328n30d32202g3744a233c7efb2dd@mail.gmail.com> X-Google-Sender-Auth: 11fb79d4b7f5237c Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Though mlockall isn't going to fix this problem because the OOM killer will still kill it if it runs out of memory. I want to preserve the scenario where we go 10 bytes over memory and the kernel just swaps out those 10 bytes. Kevin On Mon, May 5, 2008 at 1:28 PM, Kevin Burton wrote: > We're actually running mlock which is native to MySQL.... of course I > didn't think about whether our secondary process is paging not our > MySQL process. -- Founder/CEO Tailrank.com Location: San Francisco, CA AIM/YIM: sfburtonator Skype: burtonator Work: http://spinn3r.com and http://tailrank.com Blog: http://feedblog.org Cell: 415-637-8078 Fax: 1-415-358-419 PIN: 0092