Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4393762imm; Mon, 11 Jun 2018 11:33:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIioymyYVupXiSuJrj22OANUQwinHbxGiZkwb8JSSFemXtdxhN6n+UDEdYE3gISCIT22uMh X-Received: by 2002:a62:4e07:: with SMTP id c7-v6mr289935pfb.149.1528742019278; Mon, 11 Jun 2018 11:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528742019; cv=none; d=google.com; s=arc-20160816; b=UBFAXqwqFuIKjqy5eZPBD17lc9K4EL08tPNRNbqOJAa+vnXHGu7vfo67Ri+nRK4lI0 RalPiagB6AWpArouYBrz6wMN3hVIH+AQNTO562um+x0G0AGUqobZ135bWzR5qs9wgiQN GRkteNMXamLlXr23xJpUGx02mzidj2uf+VSG8iv+1MrDrrpfu2/Hy1XCDcFuKqWdhIhS IpnReuKMIpS3wiO9ersjy2auyXiuF+n7X8JmiCn3pQiDEjZCIExc5NJBAPqNha+L/8Eb 0/o/BukBhTs3t7TmRbfHxli+d6X+ghAQdcPl6k93rp5+sF1AI6DmS5yXAKToYwzPiIwI IXjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=gSM9RG9Q2LHQkZkDYRp4FpnKlCZpfnoMmtac9GpV+NA=; b=lknNpnKTdamVvSTcJbgbNfzQgA4k2tyHJto6A4fMNWLtHRvc8twKZgq4WVV7S+059V 4uPU2icin+BKcaFRvao61ylMK2Z5rHMRqDKA7ArfINATaRyvsKFNL2wG4/mgsfuQ3fzf XM4a7zJJElUJcb1iFbHwWs6NO6sNt3Ns096/DOAdWLszBlJ/UJiGQDvwhYap8yCd7vN2 syUo4of6M2a6xOyX8koyj037OIjXOhoA9ggljEqGg7vb9jhZIw68rnlSdB77Mjag0FaR Bksgf7WgszTAEXRE/Q9ilbAL9nizMzK1BBoLuQA5l8YIDSfC8nMhDxJ3Zxzic3Y1tmVQ ZcGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=XFrpOf4C; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2-v6si21853585pfh.327.2018.06.11.11.33.22; Mon, 11 Jun 2018 11:33:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=XFrpOf4C; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934279AbeFKScz (ORCPT + 99 others); Mon, 11 Jun 2018 14:32:55 -0400 Received: from mail-io0-f169.google.com ([209.85.223.169]:37195 "EHLO mail-io0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933493AbeFKScx (ORCPT ); Mon, 11 Jun 2018 14:32:53 -0400 Received: by mail-io0-f169.google.com with SMTP id s26-v6so25061942ioj.4; Mon, 11 Jun 2018 11:32:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gSM9RG9Q2LHQkZkDYRp4FpnKlCZpfnoMmtac9GpV+NA=; b=XFrpOf4CE5Qn6kWrOSA0ilYNmTASYh47I7HXlF+055MjckYt53a59VzqZwOKN2/lJ4 ywF5Or6nDI1f1L8zHd8AVtM3XMIvZLUEnIsYqT//zwrIO6ETGVGkYLaO1PizDuOtWVBa DBRedBh2FcOElSWtRCGp6xibplxCFRcKQlXmQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gSM9RG9Q2LHQkZkDYRp4FpnKlCZpfnoMmtac9GpV+NA=; b=P2QYGp1pqILC58Xwr3E7/FAwS8pcpteNOfcvAmH548IiWpeFQMqFdTpnBEAMAo/+a2 Xr1m0MxB32ATnQlVWPM9jMh1vL4x/nfqRrYrLN6Bl/X0VCpLRVz9GBLiSzDA7XU8PMws 8FC8QaXafo85t+J/+H+Up7ywRbBVnVYumAqoTvDOZZHc982qetNyDpQAVJqe0fKOo1lM yu9LK9d15ffU8s9HIvWtihddWGwa7kBVQYjCODisYcb+EI+LiqRdCOtDd47bwXAdnPJE VTN1HyqugONG9l14On9OL4FP9MENgtuZS6QBSxNhX1qmwFQ5ZhVYbDjaXqubpM+BCsb4 JYbQ== X-Gm-Message-State: APt69E2ecHTVwXF+MbQguZlFOTpmgCIyoUqfjMzXAUtcvOEQL0OO0R2h /nJnfBY78voQ5U3J3zzHQy7KwzqGPFKc5XYSVhY= X-Received: by 2002:a6b:1502:: with SMTP id 2-v6mr299096iov.203.1528741972988; Mon, 11 Jun 2018 11:32:52 -0700 (PDT) MIME-Version: 1.0 References: <20180611192353-mutt-send-email-mst@kernel.org> In-Reply-To: <20180611192353-mutt-send-email-mst@kernel.org> From: Linus Torvalds Date: Mon, 11 Jun 2018 11:32:41 -0700 Message-ID: Subject: Re: [PULL] vhost: cleanups and fixes To: "Michael S. Tsirkin" Cc: KVM list , virtualization , Network Development , Linux Kernel Mailing List , Andrew Morton , Bjorn Andersson , wei.w.wang@intel.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 11, 2018 at 9:24 AM Michael S. Tsirkin wrote: > > virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT Is this really a good idea? Plus it seems entirely broken. The report_pfn_range() callback is done under the zone lock, but virtio_balloon_send_free_pages() (which is the only callback used that I can find) does add_one_sg(), which does virtqueue_add_inbuf(vq, &sg, 1, vq, GFP_KERNEL); So now we apparently do a GFP_KERNEL allocation insider the mm zone lock, which is broken on just _so_ many levels. Pulled and then unpulled again. Either somebody needs to explain why I'm wrong and you can re-submit this, or this kind of garbage needs to go away. I do *not* want to be in the situation where I pull stuff from the virtio people that adds completely broken core VM functionality. Because if I'm in that situation, I will stop pulling from you guys. Seriously. You have *no* place sending me broken shit that is outside the virtio layer. Subsystems that break code MM will get shunned. You just aren't important enough to allow you breaking code VM. Linus