Received: by 10.213.65.16 with SMTP id m16csp22047imf; Sun, 11 Mar 2018 12:50:53 -0700 (PDT) X-Google-Smtp-Source: AG47ELtC7YzRyg6GOCpRktWN+2P3s0OXLO/lJE/S5gepdCHxtQAcq9vNg+vsqEOxyh+SnuW1xTnu X-Received: by 10.98.160.142 with SMTP id p14mr5642266pfl.134.1520797853642; Sun, 11 Mar 2018 12:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520797853; cv=none; d=google.com; s=arc-20160816; b=kXPOEWXNpfZzz6caAJWAXCGbqhgQc+6+7RxRugMGNv4iESbFN6COXwX5g7cuDbe6vx jTKnKzsqSpcANrtpjxhJqbASxkT6ADVIV3Kchgngcy5LATt9rXcmSlNuOj3QkgM1kmHb kksMY5gtqSaDmBJIA7pqWqFn36bD0uG3H43EXSsc0FgRtgk9Dbkb0jgmSkB9vfJnoB6X e+GWWiKAbdHdXbt5wvzkA+dlg0jNv+F75QlXD8OvygPHgaYV1N9ns/lLf1geSSL2j3Tx SCKdCGp/ovlvk5wF9Iph61etFbLvyJefhheMZRuIqBRphdXmRGs69y1gN+zfR1ljc9u3 MWPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=fwIjybfOcpDIsMD9Sslp2mnEUIiALdKxCU/cGZjce6Q=; b=WmjbbxZlEjkq5yIpdfE0siNg1ha4CyoRTM/1FhUQFtmyLoCa5cULwJcK6h8PWp2Gwd 9wtj3j56vcUce4Ro6cy2Jl8vCPGKbDohGnUDB0sT5Lozs/v7l641v81ZmONI4nj+V29w 1mCBac8JQegW0i1bHQEW3sy4mTm3DfRxynya0ryLywB0IJrhZVVyBtuFm8uUnpA5rEcv LYYYDTX4fY0L1pQq5rAxpgNrFHZIeVZqqu+cb1oP/Ifsn9k/X4k4nVJ3uAVDeZVf95du +K5c17650zobRQ/WY8ZnirNh9+woZb8enxXnMy9cBVDXFzYNOi6qrlBKWHqRA7rFuGJD QJKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=dfoDZ0UP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p8-v6si4727678plk.642.2018.03.11.12.50.39; Sun, 11 Mar 2018 12:50:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=dfoDZ0UP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932314AbeCKTtl (ORCPT + 99 others); Sun, 11 Mar 2018 15:49:41 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:51365 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932161AbeCKTtk (ORCPT ); Sun, 11 Mar 2018 15:49:40 -0400 Received: by mail-it0-f65.google.com with SMTP id u66so8531470ith.1 for ; Sun, 11 Mar 2018 12:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=fwIjybfOcpDIsMD9Sslp2mnEUIiALdKxCU/cGZjce6Q=; b=dfoDZ0UP7BNQjbis/9Vqd16RxR7qHhhqHLJaVQlTzRtKsnRgRoT7CFjUJGfsxoL50a BJH8UFgr3B9G6FD3zRDlGtBDxROXOQNBBTNXGT1BJIaCkpqWyG+f2ZVKL26bx4gBb57O pCDzVqetxloU9M4/ds6N6iKdymjzbHOlQ7bSr6f67dWw9TXLEgf9P+t1kQIFk8CC1+59 fRF+ro7g05lTIbbtlNM9TufStn4hT0WrG//wS4VDazEop21kejsSGKbj3w70h4/d0jnc YgqGZwOGxwfrTcJwIUPgDb1QrzFdLn4XDQ8mZCiqavByAlzd+M9FUM3F+f8euQCAZbE2 cTIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=fwIjybfOcpDIsMD9Sslp2mnEUIiALdKxCU/cGZjce6Q=; b=OhabhXZXMJMy0Z9qElZC/KjXLR05NKC8b9kGmvleBDErjSEst52tcPeUTNBoGM1ivY rS2zHNhW04GRVjTm0Jdkn8aW2niHgV07oAkiBPr5wLW3qOv90/h8hSUMn/X5TWyzn5Og +TLbulfwA+uXPe06WAg4H2Ktz983pbdPhwmBLm/Spz5Q5OC/TTMDsAxw8CIi01XpbLXf 1IXqo8E+Pp6I+5BB0Fs3sVlWc02C/wWlpY3pzTSnJDKj9GzxVXBru6JYN7dMZL3fOQho 4Nu9AhBIRjohg5EM4co72O5TYa7qOAyRxIZRNa0zQOTdO/tRefFDKSTnLAbydnXFHdKq 1aVg== X-Gm-Message-State: AElRT7HTAQU4kiaq9HoYgziVs5N7vfBvQgcBgeodRNvJ43/parVp/caQ 3F/EswDLcpYoLZOxf/bg2NB9UA== X-Received: by 10.36.60.138 with SMTP id m132mr6191624ita.132.1520797779243; Sun, 11 Mar 2018 12:49:39 -0700 (PDT) Received: from [2620:15c:17:3:3a5:23a7:5e32:4598] ([2620:15c:17:3:3a5:23a7:5e32:4598]) by smtp.gmail.com with ESMTPSA id k12sm2169031iti.32.2018.03.11.12.49.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Mar 2018 12:49:38 -0700 (PDT) Date: Sun, 11 Mar 2018 12:49:37 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Roman Lakeev cc: Christoph Lameter , Pekka Enberg , Joonsoo Kim , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/slab.c: remove duplicated check of colour_next In-Reply-To: <877eqilr71.fsf@gmail.com> Message-ID: References: <877eqilr71.fsf@gmail.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 11 Mar 2018, Roman Lakeev wrote: > Sorry for strange message in previous mail. > > remove check that offset greater than cachep->colour > bacause this is already checked in previous lines > > Signed-off-by: Roman Lakeev Acked-by: David Rientjes