From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) by kanga.kvack.org (Postfix) with ESMTP id 584AA6B0038 for ; Tue, 7 Jul 2015 11:08:59 -0400 (EDT) Received: by qkei195 with SMTP id i195so141852575qke.3 for ; Tue, 07 Jul 2015 08:08:59 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id r187si9240524qha.27.2015.07.07.08.08.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2015 08:08:58 -0700 (PDT) Date: Tue, 7 Jul 2015 11:08:54 -0400 (EDT) From: Mikulas Patocka Subject: [PATCH 0/7] mm: reliable memory allocation with kvmalloc Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Mike Snitzer Cc: "Alasdair G. Kergon" , Edward Thornber , Andrew Morton , David Rientjes , Vivek Goyal , linux-kernel@vger.kernel.org, linux-mm@kvack.org, dm-devel@redhat.com This patchset introduces function kvmalloc and kvmalloc_node. These functions allow reliable allocation of objects of arbitrary size. They attempt to do allocation with kmalloc and if it fails, use vmalloc. Memory allocated with these functions should be freed with kvfree. The patchset makes modification to device mapper to use these functions. Mikulas -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org