From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA1AB37AA63 for ; Sat, 9 May 2026 03:49:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778298567; cv=none; b=NWLFFnCPL28Si9rLqF9AuMo4d3frfQ9F5E+ZnepEGmQVrTQ6fg/21tcQICO5feaFFctZKJMlMOtM+h4Fz2Dy2bpKH4nDgsRPnyaXEBaOCriKyoeCuEaAyz0/JPYJzeDrL+JCtoGNW5umCHP9z1BjU+5T7aIZ4Upwrhse3zEXVyg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778298567; c=relaxed/simple; bh=agivATQJ5bVTSy4Ib74h2bMzu7ThvIKIcxhTcHxEtQU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CldlXHvVQBNFKm7o70f8a6QbeISlX7socHMjrMhgdV2JZSHuBY1iVbOhKMLxU7cz3WpMXHvSEAnbPZmI0BcM9Ix2QbaV0CGtNI2KwdMOlRgjZgHAi6WjZm4nVkWxqdLW3TWBY9JROxbjph0q0PP7SmpgCPRn58izR8s1svgQqG0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=VdEHyXQl; arc=none smtp.client-ip=115.124.30.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="VdEHyXQl" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1778298555; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=agivATQJ5bVTSy4Ib74h2bMzu7ThvIKIcxhTcHxEtQU=; b=VdEHyXQltrQYpTqfUOqCEgwi0TLOetP5w30QzLVPtAu37zWcMzL7/naojI38Gz7zFFCy66g6vXBN7Tx0aJZ8wwfSjlzIgwYKrZ7mK7clGs5HlHyGCYKzPX9fmWj7z878f/19L3LlFFwGl7c7cbHLzcLwlotpToRHu01GJ+DHkQA= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R161e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033045098064;MF=tianruidong@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0X2ZEs2F_1778298553; Received: from 30.74.145.58(mailfrom:tianruidong@linux.alibaba.com fp:SMTPD_---0X2ZEs2F_1778298553 cluster:ay36) by smtp.aliyun-inc.com; Sat, 09 May 2026 11:49:14 +0800 Message-ID: Date: Sat, 9 May 2026 11:49:13 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] sched: move stack_canary to the start of the randomizable region To: K Prateek Nayak , mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, vschneid@redhat.com Cc: linux-kernel@vger.kernel.org, oliver.yang@linux.alibaba.com References: <20260508061558.2976364-1-tianruidong@linux.alibaba.com> From: Ruidong Tian In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 在 2026/5/9 00:38, K Prateek Nayak 写道: > An offset of 72 bytes should be fine right? I doubt we'll ever add 2KB > worth of data in this area to worry about this again. 72 is definitely fine. I'll take your suggestion for v2: move wakee_flips to after last_wakee and drop stack_canary into the 8-byte slot at offset 72, keeping the rest of the patch unchanged. Thanks for the careful review! Ruidong