Message ID | 20210916133535.3592491-1-imran.f.khan@oracle.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=V4uO=OG=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3EB6C433EF for <linux-mm@archiver.kernel.org>; Thu, 16 Sep 2021 13:35:51 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 320FF60F11 for <linux-mm@archiver.kernel.org>; Thu, 16 Sep 2021 13:35:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 320FF60F11 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oracle.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id BF4BC900002; Thu, 16 Sep 2021 09:35:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BA1BC6B0072; Thu, 16 Sep 2021 09:35:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A1AFE900002; Thu, 16 Sep 2021 09:35:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0005.hostedemail.com [216.40.44.5]) by kanga.kvack.org (Postfix) with ESMTP id 8F6076B0071 for <linux-mm@kvack.org>; Thu, 16 Sep 2021 09:35:50 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 4DEAA1812871F for <linux-mm@kvack.org>; Thu, 16 Sep 2021 13:35:50 +0000 (UTC) X-FDA: 78593534460.13.BA403A4 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf10.hostedemail.com (Postfix) with ESMTP id D40AF600198F for <linux-mm@kvack.org>; Thu, 16 Sep 2021 13:35:49 +0000 (UTC) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18GDQDJm004749; Thu, 16 Sep 2021 13:35:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2021-07-09; bh=y4GJHNUxGwbXl9l9lQQZYHCZRYz4WE1RdEtDkfUsRFs=; b=kVKEhC0ymlPER05VlAPc8SC0QNvhhmzFbVX6AZZp7Tmb1lUn1juIb6ekbSLLjWpH037/ UqM109hzU7Zk4w9dUGaki/skM5y6QjMp2KkwWGkWdQNpR6N7MMy7+M0wDzTEMQGH9Gs5 Uj6ZsNT0sZjy7QgxCzFI+fI4Zcp436SAgFTK20n1Q2jP3aI71a8JlmMYv+6+8Sp58ACO 5csLHjgvzCos8vJaVS0JhBEiCPwNjeE0rcN7YfKMMvs3ray+ifbEWHoyIOzkG0yellAv qem/c9/mNbs9ne6iOngBRgjNSrX+oUi1HOgeEtTm6i1x9jgr+5vPqGGUCUJEX+n2HQXB nw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2020-01-29; bh=y4GJHNUxGwbXl9l9lQQZYHCZRYz4WE1RdEtDkfUsRFs=; b=TH5SuCa0HBsZ1HSgNqIRieNst3SKLTU0PGHd4MPRKs8PIqAZqmpfURPnyC7Crh52O8pF q1G8NQaB96Ym7+FDJU/3EmikxqDhHg0ZPf6BwPY2w/iVLDTTwzUfIXjXfTqbs5yQvAzQ C1A1vrgfhUcVZZu7cBjNGZyRxlmQ817QYw15JCAwKhxG+icDNvHibkXylW717ac9BwxF OU6kEtPYWMwPuBTnX+C0ah3JJnq0OihXLAbi8qyOUlUZtIwZiaCdNaJPlDh4B8DDAYKg Gbbi3E/H3mSZsC/HysxeEU+A9UFMRKS9D465qhIBpQFXrWMTZRxfm+8qnhAW84paytOs Rw== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by mx0b-00069f02.pphosted.com with ESMTP id 3b3jy7kfwu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Sep 2021 13:35:45 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 18GDZHt2083818; Thu, 16 Sep 2021 13:35:44 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam07lp2042.outbound.protection.outlook.com [104.47.56.42]) by userp3030.oracle.com with ESMTP id 3b0hjy8gc7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Sep 2021 13:35:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KU2rhnbxNab9qoGQ5tI6uzBl8mYBfBjDL2XWitFX0I6UBojRMHL359+GsT18NuJzDRSGNlyG6vXXCFes2LQvyjuh9k15eDGPuzb53+D+j/VDQnPSBEZWI1rZBnNS5wDeWFtwc9H8EoPNQPy7mfA283p7nRLc7Yx92ISqfFRkukHC6o0kWIDv7caF9mB1TmS/HeH+oo/C4ACkWTJJ50auX/+QXsOx6QTG1SFmOHIkeqDanjFwuEhUguUpNDnYkO+WZ6LcyfyQvNV2Uw0s8qC45uAPyU9FLl0Ra5wCGjRxv6Bt908YOr3+c052MIrZz1m7fzpRruok0PNY3UlEdiUE8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=y4GJHNUxGwbXl9l9lQQZYHCZRYz4WE1RdEtDkfUsRFs=; b=j9YZgxBQK0sy5Nek+3l87lxrQ+uMyJnLzvUSiqwAXgn7I6/rw4JFBgcBedux2UJwVHO/i4LOdffP0i4Tjlbt3AQT/F2RuwcWG1m6M3k+1Y71i6RNYxlMjKrJ+QXb+T7ODJBVrF0gwHErBJFZe90kVD6tqhDpVWpM5E0SU7Wqm5cZeFN02c+BCsko9bh1vhncB32SmU8TBlSuygQFstiGOq0lDvzi2bRydKma1O3GbSrkUFP5hWPp3wXbo3nvL+6PeopkPvZT4uXY6fRoXwlcp+sxAYHvSopGRLaO5+ggZpqNQ5Q9ju79Ya5kVX26etOhmDrLNBPB0V0dY5fwaCKWcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y4GJHNUxGwbXl9l9lQQZYHCZRYz4WE1RdEtDkfUsRFs=; b=HgKzcp92zjg1UrZx8ClBw7uyQyJfH58PnOqA7Clv1yZ6/xpuNM6dk5lVrjQcWFmLmHoGqHAzl1OsjRtkJNWKaMhmVsd3N/feHpIrXiC/Vf9dNDe7O0/Ru5fgymfPAN2CToQy7pWJ5uUo8AKXW+icnGk9tC62/q3OoUj5+07eM0g= Received: from CO1PR10MB4468.namprd10.prod.outlook.com (2603:10b6:303:6c::24) by CO6PR10MB5553.namprd10.prod.outlook.com (2603:10b6:303:140::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Thu, 16 Sep 2021 13:35:42 +0000 Received: from CO1PR10MB4468.namprd10.prod.outlook.com ([fe80::f091:1dd2:38a8:e986]) by CO1PR10MB4468.namprd10.prod.outlook.com ([fe80::f091:1dd2:38a8:e986%6]) with mapi id 15.20.4523.016; Thu, 16 Sep 2021 13:35:42 +0000 From: Imran Khan <imran.f.khan@oracle.com> To: vbabka@suse.cz, geert@linux-m68k.org, akpm@linux-foundation.org, ryabinin.a.a@gmail.com, glider@google.com, andreyknvl@gmail.com, dvyukov@google.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@linux.ie, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, linux-mm@kvack.org Subject: [PATCH RESEND v3 0/3] lib, stackdepot: check stackdepot handle before accessing slabs Date: Thu, 16 Sep 2021 23:35:32 +1000 Message-Id: <20210916133535.3592491-1-imran.f.khan@oracle.com> X-Mailer: git-send-email 2.30.2 Content-Type: text/plain X-ClientProxiedBy: SYBPR01CA0008.ausprd01.prod.outlook.com (2603:10c6:10::20) To CO1PR10MB4468.namprd10.prod.outlook.com (2603:10b6:303:6c::24) MIME-Version: 1.0 Received: from localhost.localdomain (110.33.47.182) by SYBPR01CA0008.ausprd01.prod.outlook.com (2603:10c6:10::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16 via Frontend Transport; Thu, 16 Sep 2021 13:35:38 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2c302ddc-ccbe-4280-47cd-08d97916e127 X-MS-TrafficTypeDiagnostic: CO6PR10MB5553: X-Microsoft-Antispam-PRVS: <CO6PR10MB555328F891C3325AFF991071B0DC9@CO6PR10MB5553.namprd10.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HOjpQ1fCz4sBWawZ5cGu+iUko1WGuHrdo6r8dETW2nJYCSnbnwj3PKbnV/lQJgAkTAS+PHLb63RBomXnnxLBZA4dFA/Co2b6FGKNTUmWlbT+oPZOtD4GNL8VDC8ApYcn9bs894B1pnlxRr3C7xMJyaG7XbCzjUc8ShUnaESHE7wgvrtsXflvvxENmv5A+ri67bNFJ8pl6mL5gTnmwbMwWK1hcpp0AoAFXqQkp90QHp9nVzyjxRznrFQtsbSgCWpMPJ5LqJuooz2KkRmI+k4tpkK0GdB0K+DxF573WdXbWdX5vDWjJG0I/IIPAR/EZM2WoxtmkCy5YszbSXG4K5+GYkpM285uQc7SsqVvToeSS6jsY9Av4Ho0tr3XBi3/oVs7BJmE8Ir1ekgLzZIbJ83Jft5G3QNS9zxYbXVPIjvftTvAyI31jvYy+lsI5iRqkZOm6wUnHFAhpgwi+L4E11487Uc8E0jOBATLIiLjYRiHytNqybrGZLx1Ms1Noi/3up57rHMb7lUVmPhE8PbPY2hHCcryORBcvu/fgQlqDv6zO2eHIMEnAdVQl0CAGEJPOBiAjcanCO2ew39z4So49rvj/EPBPHlmjK1bhHlSQC6nZnU3MoeGDH+DRbYo+30b0WB1kADNq7FKJuk1pI8R3Ns0TfVTlgiK0Hc6B5eRMXRpFig/fNWOAKDvy7ZjkkSQhZOU9hw4NQxysI/BA912iwHxWKg+2SBa1e3DKIR0V6BFbc45rY9xXeOXe4ZHLsXzRv+5P2LFbJx3Chz9jNXqWWjIBt7VmpmXXEJdWFiJQMPxf7++lTAesyP1A+XMlTivMGrCJYlgjtclPvcg8QW8/2ASG63LWR61qCYw0nfL4UESzSw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR10MB4468.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(376002)(39860400002)(136003)(396003)(346002)(4326008)(316002)(36756003)(26005)(5660300002)(956004)(8936002)(83380400001)(7416002)(66946007)(52116002)(2616005)(38350700002)(6512007)(6666004)(38100700002)(66556008)(66476007)(103116003)(921005)(8676002)(86362001)(6486002)(966005)(478600001)(6506007)(2906002)(186003)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1VFxJY7qV94LvuPhwE1ZX0JkW/2eRLODHEUJiX3k6V5zknpZO0xT/bLvbf2w0kdf4rtnRIV1MhyjaI2kRN6BVZcPPsQqEt8fqAOIE9S0nkE+ppEHIJMMwyg+iE6oLDNfFE42hXq0C69GRR3jojD8c8OAWP6Ce5rQB+LVA7WfXa0CX75OW5PW/e+1zfWlR5WWnklbfaIYL6b+L+27WzUk2rEEixXE0NBE3ZVA2bE9lLnNTTlxSHTh4Qziz08/IRdM5BDFv7uoIPET2KJNtc6XShhuSF2ZX0neGrxSbuSNibCYp1a+AtkwTLjvijw7DnCX1E4e5+5mqaOCgDhinwGINFoqLb+IPkXU+QAsYNv4PmQki3CmBCuLNbwSdMjAy9wzEwXjnYJhOuek1l5E0Z4uqDKWgmzyt7vqldThj2gfpb8ZV64TZzrdaU81iKJ2naxaS19eoIeV79Be0Eqka4HL3XMLlXr2D4WQCgNxdYxheV1mLYNLB04DRQNCtFc5edL4iEKK/3VtDuW0addYg5CSkPSGiAPlpZAvdjheP6bX0AQZV7OgnMNAM31wnqe1MQRhDbnL54rqfyaObUM+kTWNGP41+ToPt1XLwcQJieyPSgKgdy6dMmGKvZgDWQn/QOmewqexR4mzTqVdusH+GNMyNEzCprktVJ3UKgkFa0NAt5SbLs9hhua0iQaDbitaDRtzIrvxoK68PpQNDx3pPW1xw40lx5d0/go37s66RCwEBaSoriBdA2uhrOLU/5D5KN6NmbYB64wYhwdaka5oLtxepXHJkYpGRMNtM7/3kNBIt9gtN7AefHtuwQnCYR2+2T5hOfQ1kUBVCcSnbpPe13qiDdKVbCETpFcfiMjgtiThXFEFLBK6eZNJHIim6W42TNJEGvekNFFwbHiIvhLo9SHxON5vCHteE0tD8lfk5q7PZ604CSjjnjoyU6FHwZX/iQyubRlJZBMsMdw5YQ85OOjYYQ1pGA1i3DuIAljOTPLUY6U3TIAtRllHZWxbRfcwkCfBkt/7VDNLY6lYxBqfOSfzjQvxVW8evqOkjoSWB1EbZMFXFFAC+NtmBZEUuVQeHcjzGncYphCVc+mnOzjaYE2eUfosXaxU4NbXwP3molgMKJk1FIiPnwYY363wY3ByFIFrAMNN71fTziUdPK3mDftkUnUadtGEMlBiDqDo7OYJlHC3E6p1sieYdqN7Qg6YsR70qU3S13mAaTK2/P4Tp7QwiSpmHCx/XdYY8segEplIGQ+uYnvR7VIVZ+NZjaGvWX/pzpyK7R74hLZX1htojZrcMWby4nncmYOwzfX4iHVdIjQcmcr9Yq0Ih8ozjywgVmAs X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c302ddc-ccbe-4280-47cd-08d97916e127 X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4468.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2021 13:35:42.4569 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CnWaEuVRVvhI98Q7Mem/RG4V8JOoaLgV1Efv+keeSR4fz5H1heeL5rYWPUMSvjdyn4SjYFZqiwMPsDd3ba2P6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR10MB5553 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10109 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 adultscore=0 phishscore=0 mlxlogscore=999 suspectscore=0 spamscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109160087 X-Proofpoint-GUID: tTwR4aXqdaV8JPmAMbPeMdzvJmGfK1jj X-Proofpoint-ORIG-GUID: tTwR4aXqdaV8JPmAMbPeMdzvJmGfK1jj Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2021-07-09 header.b=kVKEhC0y; dkim=pass header.d=oracle.com header.s=corp-2020-01-29 header.b=TH5SuCa0; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=HgKzcp92; spf=none (imf10.hostedemail.com: domain of imran.f.khan@oracle.com has no SPF policy when checking 205.220.177.32) smtp.mailfrom=imran.f.khan@oracle.com; dmarc=pass (policy=none) header.from=oracle.com X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: D40AF600198F X-Stat-Signature: ic1j11pehqbuscirct7tkqognoxpp3j4 X-HE-Tag: 1631799349-479524 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
lib, stackdepot: check stackdepot handle before accessing slabs
|
expand
|