search for: saner

Displaying 20 results from an estimated 169 matches for "saner".

Did you mean: sane
2020 Aug 25
0
a saner API for allocating DMA addressable pages
Hi Christoph, On 19.08.2020 08:55, Christoph Hellwig wrote: > this series replaced the DMA_ATTR_NON_CONSISTENT flag to dma_alloc_attrs > with a separate new dma_alloc_pages API, which is available on all > platforms. In addition to cleaning up the convoluted code path, this > ensures that other drivers that have asked for better support for > non-coherent DMA to pages with
2020 Sep 14
0
a saner API for allocating DMA addressable pages v2
On Mon, Sep 14, 2020 at 04:44:16PM +0200, Christoph Hellwig wrote: > I'm still a little unsure about the API naming, as alloc_pages sort of > implies a struct page return value, but we return a kernel virtual > address. Erm ... dma_alloc_pages() returns a struct page, so is this sentence stale? >From patch 14: +struct page *dma_alloc_pages(struct device *dev, size_t size, +
2019 Sep 18
1
[nbdkit PATCH] server: Saner filter .close calls
I found a core dump: term1$ nbdkit -fv --filter=xz null xz-max-depth=$((0x4000000000000000)) term1... term2$ qemu-nbd --list term1... nbdkit: debug: null: open readonly=1 nbdkit: error: calloc: Cannot allocate memory nbdkit: debug: xz: close Segmentation fault (core dumped) (Note that the use of --run or daemonizing nbdkit makes it a bit harder to see the core dump, but it is still happening.)
2009 Nov 19
1
[PATCH libguestfs] syntax-check: expand TABs in generator.ml
...* caller will free this */\n"; pr " return safe_memdup (g, &ret.%s, sizeof (ret.%s));\n" n n | RBufferOut n -> - pr " /* RBufferOut is tricky: If the buffer is zero-length, then\n"; - pr " * _val might be NULL here. To make the API saner for\n"; - pr " * callers, we turn this case into a unique pointer (using\n"; - pr " * malloc(1)).\n"; - pr " */\n"; - pr " if (ret.%s.%s_len > 0) {\n" n n; + pr " /* RBufferOut is tricky: If the buffer is zero-length...
2014 Mar 19
2
[PATCH] drm: compute runpm on load, don't register autosuspend for non-runpm
...; > This should hopefully fix secondary cards suspending and then being > > unable to come back in non-optimus setups. > > > > Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> > > Cc: <stable at vger.kernel.org> # 3.12+ > Also untested, but looks like a saner idea to me. Dave? Unfortunately not sane, we are looking at adding apple-gmux support, so the load ordering is indeterminate, so doing this will mean we just have to undo it later. Dave.
2014 May 08
2
[PATCH v10 06/19] qspinlock: prolong the stay in the pending bit path
...e pending bit holder is going to > + * set the lock bit and clear the pending bit soon, > + * it is better to wait than to exit at this point. > + */ > + cpu_relax(); > + *pval = val = atomic_read(&lock->val); > + continue; > + } Didn't I give a much saner alternative to this mess last time?
2014 May 08
2
[PATCH v10 06/19] qspinlock: prolong the stay in the pending bit path
...e pending bit holder is going to > + * set the lock bit and clear the pending bit soon, > + * it is better to wait than to exit at this point. > + */ > + cpu_relax(); > + *pval = val = atomic_read(&lock->val); > + continue; > + } Didn't I give a much saner alternative to this mess last time?
2006 Nov 05
3
Very high translation costs for g729
..., I'm getting the following translation cost for g729: asterisk*CLI> show translation Server 1: g729 - 26 25 25 25 25 24 26 - 53 36 Server 2: g729 - 66 65 65 65 65 64 69 - 90 75 On my other three boxes, I get much saner vaules (costs anywhere from 3 to 6). Any ideas why two boxes have such high costs? All the servers run the same OS, updated to the same versions of everything, including kernel. Four of the five boxes run x86_64 kernels, with the two that are playing up both running x86_64 kernels. I'...
2010 Mar 05
4
making 0.0.16 into 1.0.0
...interface may still need changes? TTM sucks? Userspace command-submission for ever? I don't like versioning anything ever? So my current answers to my list of cons is: Adding new faster interfaces for 3D drivers shouldn't be a major problem, if its just a matter of making the current APIs saner. If you are going to write a UCS/non-TTM driver you are going to have to do major changes all over the stack, in theory a kernel CONFIG option to enable version 2 of the interface and drop version 1 would be an option at that time. Or even a boot option to select between which one you want. I woul...
2017 May 31
2
Enable STATISTIC all the time again?
...to not have > > it do the counting as a runtime option instead of a compile time one? > > Or increment into TLS variables and sum those at the end. Looking at a > statistic before the end of execution is dodgy territory anyway, but I > can't think of a case where it would be saner if other threads are > poking at it simultaneously. Access to TLS variables can easily be more expensive than any atomics... Joerg
2020 Jun 21
1
firewall questions
...'t have anything particularly valuable that they were looking for (I don't think!), but there are lists of subnets & ports out there that the kiddies use so once one found it, the flood gates opened. SSH is now protected behind a VPN. It's a valid thing to do and makes things much saner, but don't assume it is a forever solution and don't use it as an excuse to reduce other protections you may have. P.
2011 Oct 31
2
Imap/pop gateway
Hello, How can i make a imap/pop gateway? that is, putting the mailboxes on a server on the internal network and put the gateway in the dmz. regards
2007 Aug 15
5
Misc notes concerning view_paths
...hat doesn''t mean it''ll work. So borkedness ensues. For example, when set to an array, you end up with action_controller.view_paths being an array inside an array. (See line 277 of initializer.rb) I can set config.action_controller.view_paths separately and then results are saner, but the way config.view_path works now is a bit confusing. My suggestion is that we change config.view_path to behave more like config.controller_paths. First, it should be renamed to config.view_paths. It should have a default value of [''app/views''], so that one can add...
2017 Nov 15
2
[PATCH] nouveau/codegen: dump tgsi floats as hex values
...1e, 0x00000005, 0x0000000a, 0x00000014} IMM[7] FLT32 { 0.0000, 0.0000, 0.0000, 0.0000} IMM[7] FLT32 {0x00000014, 0x0000000a, 0x0000000f, 0x00000019} Greetings, Tobias PS: I have no push rights to commit this! On 11/15/17 10:44 PM, Pierre Moreau wrote: > This looks like the saner approach, compared to changing tgsi_dump.c to display > more fractional digits. Maybe there could be a second option to display as both > float and hex? > > Reviewed-by: Pierre Moreau <pierre.morrow at free.fr> > > On 2017-11-14 — 15:11, Tobias Klausmann wrote: >> Prin...
2014 Mar 20
1
[PATCH] drm: compute runpm on load, don't register autosuspend for non-runpm
...rds suspending and then being > >> > unable to come back in non-optimus setups. > >> > > >> > Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> > >> > Cc: <stable at vger.kernel.org> # 3.12+ > >> Also untested, but looks like a saner idea to me. Dave? > > > > Unfortunately not sane, we are looking at adding apple-gmux support, so the > > load > > ordering is indeterminate, so doing this will mean we just have to undo it > > later. > > So... suggestions then? I always end up having to add ru...
2016 Oct 18
3
unable to compile llvm with gcc 4.7.4
Hi, This is not the purpose of my distro. The purpose of my distro is to account for complexity lock-in and to remove this as much as possible. This complexity is usually performed in 2 ways: - ultra costly languages/runtime to implement (c++/java...), and I don't think "ultra" is a word big enough. - multiplication of script languages
2011 Aug 29
3
[patch] Packages ocaml libraries
This is the second version of my patch, this one is much more clean, since it's using upstream Makefile. This is the most urgent patch, since we need it in order to build xen-api-libs / xen-api. Please really consider applying this patch. Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: 09_ocaml.diff Type: text/x-diff Size: 4680 bytes Desc: not
2007 Jul 05
10
Does Puppet ensure that a service is up and running?
Just curious as to the functionality of puppet. Does Puppet ensure that a service is up and running as long as puppet is running? Ie, I want to make sure ssh is always running, if for some reason ssh get''s shut down, does puppet start it back up when it does it''s config sync run? Thanks! --------------------------------- Pinpoint customers who are looking for
2006 Oct 12
4
xend / xenstored performance & scalability issues
...ond which is utterly ridiculous & completely non scalable for enterprise deployment :-( There''s two problems I see here: 1. Why the need for xenstored to be doing any of this I/O in the first place? If the DB needs to be kept on disk at all, it really needs to have a much saner update/transactional model to only update bits which actually change, rather than re-creating the entire DB on every transaction. But it strikes me that the DB could potentially be kept entirely in memory removing the disk I/O completely. Sure yyou wouldn''t be able to restar...
2006 Jul 11
2
non positive-definite G matrix in mixed models: bootstrap?
Dear list, In a mixed model I selected I find a non positive definite random effects variance-covariance matrix G, where some parameters are estimated close to zero, and related confidence intervals are incredibly large. Since simplification of the random portion is not an option, for both interest in the parameters and significant increase in the model fit, I would like to collect