From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) (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 43E7C823D9 for ; Wed, 7 Feb 2024 17:06:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707325620; cv=none; b=lBJRDgbyBDBf7qta1buPx02d/VKX0sHUsA+/iCyAn0p7uAcuU35b9YaAR2jxQ/2RXv3o0v+K3Mbqt47gUY0uYu33HmtuqBt1g+rQTGT0OM9eHAnaO9Fyb7YwQhx7qS6I2qa5kJORXfDlKty/91C2SB+diyjsM14sRtSwzsDoNsQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707325620; c=relaxed/simple; bh=7C63nunywPDaKHGJtv0HuEmtygpWagnoHLl4w6FxV6w=; h=Message-ID:Date:MIME-Version:Subject:From:To:References: In-Reply-To:Content-Type; b=SV5Mi55pKa64C5TtEzYmO8ulVtzAkTJVJv0pznem5VyuaZsWXeM0VUiQdWLAdtQoZ16sonyd/CqwH1FFTyByWCY6g1kgag/Net/kiJ9e1wE6QyfbRodMkegFtstkqOqGPycqvmEgz0ZSbjNZtGLrmM0wmLegotD2c7fDGJ7kvn0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=kr29iGln; arc=none smtp.client-ip=209.85.166.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="kr29iGln" Received: by mail-io1-f42.google.com with SMTP id ca18e2360f4ac-7bbdd28a52aso16804039f.1 for ; Wed, 07 Feb 2024 09:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1707325616; x=1707930416; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xmIJySLQtAnhGkfR6OomgcWUCiSOe3iOcnxQJEVYBLw=; b=kr29iGlngM3monLqHhHZWPcw6xYwWu+1uk0OJ4eZUrgNClwj7kxV6uCzaH2ItJCMTm qf7EeAPtzQNyRa/WPztayOjd1JXreRfwJ4a76N5friaiWQTXctB4DJxKqlN6Ly//pjLw CuEgBU8zSxJUAZjWOQjn2oCtdbwb6UF9vyKt6VICUsWhohI38WRlg5AbrfHh54F2ZFWO lszISVw98rNgmj+YbjU2g8Ts01ElZwLIMz0icozTetnkbDGZrd2qlOQMI1tqsET8mORQ T+oZBQefToneymFngCXy44dOTVp5zh5Jrn+rq+SR/Y2FGsAdwXH2YAdTM2O2R548GZ7m uEHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707325616; x=1707930416; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xmIJySLQtAnhGkfR6OomgcWUCiSOe3iOcnxQJEVYBLw=; b=sFHVREp28Gty5vDp+F0EfkFwlKaDo27KhoaXmw1y8gc5ANR+8pr71Mg9L+VnrpokkL ROv8gm9EaweHxALOCnlqmMsq0fWMKvi3fmcHzg+Czkw7GhFBoQave+TZ+B8KuVJ1MDE4 Hu7U2MEm1bt/BIVvdR2HRe04MLEgZjYCdbD3C8e+rDT/P7HRR+y4qxbFYlvzrr9XxR2p LNH7IiQXuLjtL2mL/wp8u5qQfDq1QSsr1kpzht1K0zS5FpbjVYpYier6RJrimL0xvkH/ bg97GrU1deAvJswZ+8vvsvdMCEo+JkvGMyj49cetB3pwp/osIe0TzxN7SQEUnv7T9ll3 e+kg== X-Forwarded-Encrypted: i=1; AJvYcCWrAL3T6dE+JYu6f4O7m4WZbTD8HgtmhXrUywTwjO4O0vqwQZ70yIzlxOMGB9K3jbNHCiW5YBsXLRFSsj4Xh5ApeAqMSRVGM2ujxwY= X-Gm-Message-State: AOJu0YzVFkN3jKXYQxk1eu2TcNfb1Z/GKFcQpOh4mYuVcqZSIdUUFusG fvMz5yaDTCLln9dSVsmo/+wN8kja0W8nQyBboWNOsxXnDOKTsbRGQtXoDN/+yAU= X-Google-Smtp-Source: AGHT+IEJ7YPlhcSCpysbs+FVYkSCfo8S+sOZGzaA9plVAeULDmJue5z6Fab8vBCcpWc35HKdRPlLGw== X-Received: by 2002:a6b:f308:0:b0:7c3:f836:aed with SMTP id m8-20020a6bf308000000b007c3f8360aedmr4173156ioh.0.1707325616390; Wed, 07 Feb 2024 09:06:56 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWnUqZzNY0xNhuFF9evr1Hpb0wZFgpmxd+i7aHP74vrlJJJyVvM95DALUsAlBp0DfB8OKdEkV+OgOEbCXvlXISZRv3PFGmAKXh8tOz47icXl+jdHhhw1KoYezird/BPKwnkmDvuFcXU+QJaE7IoQ3Sk50eBuso9fbwyotisFARBYSlvqvy8rkJlyjX6gKM= Received: from [192.168.1.116] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id j9-20020a02a689000000b00471307ff92csm411038jam.173.2024.02.07.09.06.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Feb 2024 09:06:55 -0800 (PST) Message-ID: Date: Wed, 7 Feb 2024 10:06:55 -0700 Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [bug report] BUG: unable to handle page fault for address: 00000002de3ac841 Content-Language: en-US From: Jens Axboe To: Guangwu Zhang , linux-block@vger.kernel.org, Ming Lei , Jeff Moyer , io-uring@vger.kernel.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/7/24 9:37 AM, Jens Axboe wrote: > On 2/7/24 12:19 AM, Guangwu Zhang wrote: >> HI, >> Found the kernel issue with linux-block/for-next branch. >> kernel repo https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git >> >> Reproducer : >> 1. offline_online_cpu_in_bg >> 2. some_io_in_bg > > I don't know what these two things are. Would be nice with an actual > reproducer. I can trivially write something that offline and onlines CPU > in the background, and I did, but I cannot reproduce this issue. Ditto > on "some_io_in_bg", what does that mean?? I managed to reproduce this, it takes: - Using polled IO, but you didn't set hipri in the given command line you sent. What you sent cannot have been what was run, the trace as well shows that polled IO is being done. - NVMe device with _no_ poll queues defined. Anyway, the current branch should work fine. In the future, please do include the full setup description and exactly what was run. This one was easy to find, but may not be so lucky in the future. -- Jens Axboe