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


Groups > linux.kernel > #1273729

rhashtable: how to deal with that rhashtable_lookup_insert_key return -EBUSY

From Xin Long <lucien.xin@gmail.com>
Newsgroups linux.kernel
Subject rhashtable: how to deal with that rhashtable_lookup_insert_key return -EBUSY
Date 2015-11-20 06:20 +0100
Message-ID <qwMh4-2O8-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


when I use rhashtable_lookup_insert_key, sometimes it will return -EBUSY.
im not sure if there is a good way to workabout it.
or I should just try again and again until it's inserted successfully ?

I have seen some use in kernel  by now, but it seems that no one consider
this issue for their cases. but it indeed exists in my case.

did I use it incorrectly or something else ?

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

rhashtable: how to deal with that rhashtable_lookup_insert_key return -EBUSY Xin Long <lucien.xin@gmail.com> - 2015-11-20 06:20 +0100
  Re: rhashtable: how to deal with that rhashtable_lookup_insert_key  return -EBUSY Herbert Xu <herbert@gondor.apana.org.au> - 2015-11-20 13:30 +0100
  Re: rhashtable: how to deal with that rhashtable_lookup_insert_key  return -EBUSY Phil Sutter <phil@nwl.cc> - 2015-11-20 13:40 +0100

csiph-web