From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6DD6385D77 for ; Thu, 20 Aug 2026 03:44:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787197491; cv=none; b=SkJx1ML9t6VY48xmkxJ9ZE4xzQswpKT+qAgJHkopcywqBHEZwI6lKXgFG1F5VZxAxwSSJ0j7KhqCdDRZ3zJZz/mC6rDn7i4vQvVVXwMC1rWIZd4EHxfUOsnZZ/F2VomRbYijBt5p5zSDuPt2FS2QEMtOvrNYQcO41oQ0TbtXUqY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787197491; c=relaxed/simple; bh=AhPKIOYcEnQgODDQywnY2t5fMM5+BcrC+repee5ALbY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=B79n16Qa7GV/iRgNJG2EPsuz5uk6pXRcR57uZAjVXo1mXITjBXwYF/qrj0Wal1YkKN4g9BE/rIiS97WOo9sMK5I76Uh27NL5NqkrOpqLOTcgCXTC91J3S/e3Icj2XQVw++tnCrEx83gWnvm8SxDLdJf4uxJjH+av2Fh7MEvm1PQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hjKFiJLh; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hjKFiJLh" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-2cf6d65d8a7so20302225ad.0 for ; Wed, 19 Aug 2026 20:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787197490; x=1787802290; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=pNtzFbEU0tngJL9DL0WwRGDftYhcXVe/EM5lB0cI6JI=; b=hjKFiJLh4d17f6vsugodQPfhVvmH4lOqMvAeEfWAUj72bWlHPQ6dcZMniSWvtq1kqa ybl5jvFQx50E14kBGqgIDe7vaKBl4y7w5oh/RbAHzdwyomTJPsinRncbg2pDPQdSM9zW Kosu2KJXSjZRTa03FlbGS3ROgHEi0W3uaa1COjxxZxjuuk9e53opV2SPpiT9Yl5ZoRwY WRfgXrlSgRo0MeM9ndHSA96p7ST1bKfDTOo0urSXCoQdvuBxUGRtjMpXS4+gy4sDNviC rZHx3ttRRgPuDSMbchHPp/yxKScwYEeroXOJAZcf0FgH0K7vpJtyDE8cbqjr1oPOn8Wr 5oTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787197490; x=1787802290; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=pNtzFbEU0tngJL9DL0WwRGDftYhcXVe/EM5lB0cI6JI=; b=k00Ojx9V6Qx+yS5Qo0Aq8SoRrm5hKh2WU6EotrFwxUZbt6ry1D4iZN1XmG3EX84Xy7 JVkNdQifv3X2aE9eXs0v36tWKoFdMrpECqIH54VLwN79ZsDzd1CwtNU3CSPRnWw9/IAq EWvpeRrUPWW0nqQaVv/eFLD7avv651/g5c8Lns26F361eBNUj9OMsl8FRx2kr8omRyFU cGOd5SjflVWV/kU0I1x7x4gZKMIpOT4QvsW0Hrj6IVXUfJI4wqZF13D0VrpS8cd6dxeF BXb1CW7JISdd2FE+8et+uBSEuyJrHebf021rjB9bAvDYVy+aPYl3PlG1sFjHtc+2EMcO +5MA== X-Forwarded-Encrypted: i=1; AHgh+Rr8/vgW+LTK6bTYUowOPdbHAdCIfj0gnSTV8K1MxZiaYWzAeWugG9umTPwJxDwfeS3w4aj+v+FnBrihwT8=@vger.kernel.org X-Gm-Message-State: AOJu0Yzc4bqgP0WxZ0jY+j5pLQ/4riE1WrgvnmUuHVxh0L89B3N4Y5wt wbPYZfXC/6Tlz7ManGTjD1h5UH9gWAGbyI+BWUTz5gbn1Oy3j55yuqaH X-Gm-Gg: AR+sD10hjMP1Ay5LAWtZ0OrnWS3gC0tdw4pXdR05okgTEfv7i/i26A0k52vJivDr26P QGv75A5cjPyb12N3Js+/fP922hnByN0kdTVA6sEQJky4mPFGfHg0T74d6+ORSYyL4wSjDDQU41E QZqgkK3/zY6zrVdj0smoWGL982LwN1yZsF3pCt9H0aOU2KJOmzq7s5R7GLOZzg1LyM+lBF5eycE nd8mgspHsnx+adcdffdN142mnuvWjaFbEiHgjk93B/KtRRJ60fo5OnHF9ixb7EjL0dS86gQ9dSo 0PSx8fJjYO+M/9IXzdBZNEcSM8kOZ/t1w0aa0aytGtSw/v+LAXmkj0D/2o9ro8lQISeYcbvFToE h9Hy1Fx10mSMu0KXKyrUNym1v4+BEexGCAdk8qplcGkpMmwZtdGIcVGpJF06w0U90VQzYORpocr 8No53B/SruSogrDwelue5fQjeYoP9aQesjqqk4cZkhgPseS1u5RVpukYHkHrg= X-Received: by 2002:a17:903:4b48:b0:2bf:dd0:c8b1 with SMTP id d9443c01a7336-2d5fd432110mr183559715ad.0.1787197489962; Wed, 19 Aug 2026 20:44:49 -0700 (PDT) Received: from autotest.lge.net ([27.122.242.71]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2d62e3d140bsm1459955ad.77.2026.08.19.20.44.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Aug 2026 20:44:49 -0700 (PDT) From: Dongbum Kim X-Google-Original-From: Dongbum Kim To: rafael@kernel.org, lenb@kernel.org, pavel@kernel.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Dongbum Kim Subject: [PATCH] power: use EXPORT_SYMBOL() to export symbol Date: Thu, 20 Aug 2026 12:44:45 +0900 Message-ID: <20260820034445.2562231-1-dongbum.kim@lge.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add EXPORT_SYMBOL() to mark freeze_timeout_msecs symbol as visible. freeze_timeout_msecs defines the timeout for try_to_freeze_tasks. If tasks cannot be frozen within this timeout, try_to_freeze_tasks fails, and causes suspend or hibernation to fail. For example, a device driver may need to perform certain operations during the freezing phase. In some cases, these operations can take longer than freeze_timeout_msecs to complete. To allow such drivers to limit their work appropriately and transition to the frozen state before the timeout expires, export freeze_timeout_msecs so that it can be referenced by other kernel components. Signed-off-by: Dongbum Kim --- kernel/power/process.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/power/process.c b/kernel/power/process.c index dc0dfc349f22..5ddfd645b522 100644 --- a/kernel/power/process.c +++ b/kernel/power/process.c @@ -25,6 +25,8 @@ */ unsigned int __read_mostly freeze_timeout_msecs = 20 * MSEC_PER_SEC; +EXPORT_SYMBOL(freeze_timeout_msecs); + static int try_to_freeze_tasks(bool user_only) { const char *what = user_only ? "user space processes" : -- 2.43.0