Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756017AbYGGRGT (ORCPT ); Mon, 7 Jul 2008 13:06:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754006AbYGGRGB (ORCPT ); Mon, 7 Jul 2008 13:06:01 -0400 Received: from yw-out-2324.google.com ([74.125.46.28]:1462 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753935AbYGGRGA (ORCPT ); Mon, 7 Jul 2008 13:06:00 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=W9Zrw8deS0k/10x34a4LaR+FyswvMUUzRWn7X0W9IeIlXwyFQg6J8OLdFmrKh65Bvb qU3IlBpwSWz+iXx6eg0nkUztiGJWnW0bnPyqFA081njrw3A+cMwyYMfY8ES1kPYHfKGf u7Hql27Rn1Kxa4OOqum1oSYA7K3m6eU0Mz8PI= From: Vitaly Mayatskikh To: Linus Torvalds Cc: Vitaly Mayatskikh , Andi Kleen , linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH 1/2] Introduce copy_user_handle_tail routine References: <486B8B6C.2050109@firstfloor.org> Date: Mon, 07 Jul 2008 19:05:58 +0200 In-Reply-To: (Linus Torvalds's message of "Mon, 7 Jul 2008 09:21:36 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 614 Lines: 15 Linus Torvalds writes: > See? We don't actually care about vma boundaries or anything like that. We > just care about the only boundary that matters for faults: the page > boundary. I was thinking about find_vma() for memset, but, yes, it should never fail in kernel space (unless bug) and find_vma() is unnecessary. -- wbr, Vitaly -- 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/