Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1605618 > unrolled thread

Re: [PATCH v2] iommu: iova: Consolidate code for adding new node to iovad domain rbtree

Started byJoerg Roedel <joro@8bytes.org>
First post2017-03-21 15:00 +0100
Last post2017-03-21 15:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2] iommu: iova: Consolidate code for adding new node to  iovad domain rbtree Joerg Roedel <joro@8bytes.org> - 2017-03-21 15:00 +0100

#1605618 — Re: [PATCH v2] iommu: iova: Consolidate code for adding new node to iovad domain rbtree

FromJoerg Roedel <joro@8bytes.org>
Date2017-03-21 15:00 +0100
SubjectRe: [PATCH v2] iommu: iova: Consolidate code for adding new node to iovad domain rbtree
Message-ID<tnsul-43V-9@gated-at.bofh.it>
On Fri, Feb 24, 2017 at 12:13:37PM +0100, Marek Szyprowski wrote:
> This patch consolidates almost the same code used in iova_insert_rbtree()
> and __alloc_and_insert_iova_range() functions. While touching this code,
> replace BUG() with WARN_ON(1) to avoid taking down the whole system in
> case of corrupted iova tree or incorrect calls.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
> v2:
> - replaced BUG() with WARN_ON(1) as suggested by Robin Murphy
> 
> v1:
> - initial version

Applied, thanks.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web