From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [RFC][PATCHSET] VM_FAULT_RETRY fixes Date: Thu, 2 Feb 2023 20:20:03 +0000 Message-ID: References: Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description; bh=JqYAryr4ncgoLGfd4SoGpnz0Btqk8njgp0CFfJJoxYc=; b=ahQdNdoWXNamq8v8GUJXd1cvzs bh1QAw2pLpwbgpIkiW4MXAENtYwxA8evdkZ0OHQdhbv785v4kNRqy1WgvLwiSdL2OV13ronn+7d2s aght84mc5KaTnWTTx66d3O463syBC9hnW2ENJDYA+7kkHEjRkjRsycbEVYnq8KKwgJPfAR5NewgAp LoyOLYSuAIy5OL+iS8gEUrRlwDNoHFhRW+WCFkfyO3w1hJHnPntPNZ3aAsqVlZFw48bqHf9BxD+1F SxZdFqZ54EJ3sljftXHys6Zc67Qf/ks1/Qc8Mfe8/U7jPydeBhrXQygMTNdOUydBfWvM3RRbGFd/g ofHg7UoQ==; Content-Disposition: inline In-Reply-To: Sender: Al Viro List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Michael Cree , Linus Torvalds , Peter Xu , linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, Richard Henderson On Thu, Feb 02, 2023 at 03:20:37PM +0000, Al Viro wrote: > "Racy" probably had been about something along the lines of the scenario > I'd mentioned just upthread, but in 5.5 that "racy" escalated to "does not > work at all" - if you ever hit a vmalloc-related fault, you are going > to get an oops. You still get 8Gb, but beyond that it's broken. > > And it's almost certainly not the problem you are seeing... Incidentally, direct store to pgd_val() in there looks fishy wrt barriers - shouldn't there be an smp_wmb() before we shove that sucker into our top-level table's entry?