Displaying 20 results from an estimated 229 matches for "kn".
Did you mean:
khn
2014 Jul 01
3
[PATCH driver-core-linus] kernfs: kernfs_notify() must be useable from non-sleepable contexts
..._EOL;
+
static struct kernfs_open_file *kernfs_of(struct file *file)
{
return ((struct seq_file *)file->private_data)->private;
@@ -783,24 +796,25 @@ static unsigned int kernfs_fop_poll(stru
return DEFAULT_POLLMASK|POLLERR|POLLPRI;
}
-/**
- * kernfs_notify - notify a kernfs file
- * @kn: file to notify
- *
- * Notify @kn such that poll(2) on @kn wakes up.
- */
-void kernfs_notify(struct kernfs_node *kn)
+static void kernfs_notify_workfn(struct work_struct *work)
{
- struct kernfs_root *root = kernfs_root(kn);
+ struct kernfs_node *kn;
struct kernfs_open_node *on;
struct kernf...
2014 Jul 01
3
[PATCH driver-core-linus] kernfs: kernfs_notify() must be useable from non-sleepable contexts
..._EOL;
+
static struct kernfs_open_file *kernfs_of(struct file *file)
{
return ((struct seq_file *)file->private_data)->private;
@@ -783,24 +796,25 @@ static unsigned int kernfs_fop_poll(stru
return DEFAULT_POLLMASK|POLLERR|POLLPRI;
}
-/**
- * kernfs_notify - notify a kernfs file
- * @kn: file to notify
- *
- * Notify @kn such that poll(2) on @kn wakes up.
- */
-void kernfs_notify(struct kernfs_node *kn)
+static void kernfs_notify_workfn(struct work_struct *work)
{
- struct kernfs_root *root = kernfs_root(kn);
+ struct kernfs_node *kn;
struct kernfs_open_node *on;
struct kernf...
2007 Jun 15
1
interpretation of F-statistics in GAMs
...al
predictors), is there a way to compare the F values among tests (like to
standardize them by teh sum of F within each test?) I append two summaries
below.
Thanks in advance,
Robert
### example 1 ###
Family: gaussian
Link function: identity
Formula:
dep[sel, i] ~ s(date, k = 3) + s(depth, k = kn) + s(temp, k = kn) +
s(light, k = kn) + s(PO4, k = kn) + s(DIN, k = kn) + s(prop.agpla,
k = kn)
Parametric coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 5.1048 0.0384 132.9 <2e-16 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 &...
2014 Jun 29
2
virt_blk BUG: sleeping function called from invalid context
On 06/29/2014 02:47 PM, Michael S. Tsirkin wrote:
> On Sun, Jun 29, 2014 at 09:32:22PM +0200, Christoph Hellwig wrote:
>> On Sun, Jun 29, 2014 at 11:26:37AM +0300, Michael S. Tsirkin wrote:
>>> On Fri, Jun 27, 2014 at 07:57:38AM -0400, Josh Boyer wrote:
>>>> Hi All,
>>>>
>>>> We've had a report[1] of the virt_blk driver causing a lot of
2014 Jun 29
2
virt_blk BUG: sleeping function called from invalid context
On 06/29/2014 02:47 PM, Michael S. Tsirkin wrote:
> On Sun, Jun 29, 2014 at 09:32:22PM +0200, Christoph Hellwig wrote:
>> On Sun, Jun 29, 2014 at 11:26:37AM +0300, Michael S. Tsirkin wrote:
>>> On Fri, Jun 27, 2014 at 07:57:38AM -0400, Josh Boyer wrote:
>>>> Hi All,
>>>>
>>>> We've had a report[1] of the virt_blk driver causing a lot of
2009 Dec 06
2
Error in eval(expr, envir, enclos) : object 'N' not found
...e(odesolve);
###Params for running script ##
iniT=1E3; iniN=10; iniM=0; iniC=1E3;
num_days = 30; interval_size = .1; OF_prcnt = .10;
model <- function(t, state, pars)
{
with (as.list(c(state, pars)), {
dT=(a*T-a*T*b*T) - (c1*N*T) - (Kt*M*T)
dN=a1 - (f*N) + g * (T/(h+T)) * N - (p * N * T) - (Kn * M * N)
dC=a2 - (beta * C) - (Kc * M * C)
dM= -(gamma) * M + Vm
return(list(c(dT,dN,dC,dM)))
})
}
model2 <- function(t, state2, pars2)
{
with (as.list(c(state2, pars2)), {
dT=(a*T-a*T*b*T) - (c1*N*T) - (Kt*M*T)
dN=a1 - (f*N) + g * (T/(h+T)) * N - (p * N * T) - (Kn * M * N)
dC=...
2010 Mar 30
6
Error "singular gradient matrix at initial parameter estimates" in nls
I am using nls to fit a non linear function to some data.
The non linear function is:
y= 1- exp(-(k0+k1*p1+ .... + kn*pn))
I have chosen algorithm "port", with lower boundary is 0 for all of the
ki parameters, and I have tried many start values for the parameters ki
(including generating them at random).
If I fit the non linear function to the same data using an external
algorithm, it fits perfectly...
2018 May 01
2
v2.3.1: Event leaked (parent=(nil)): http-client.c:137 and 439
...he basic functionality seems to work - mails are
received by the client. However, the GUI clients display an "internal
server error" message window on each refresh.
Some other clients do not create any issues:
* MailDroid (Android)
* getmail
Anybody got a similar behaviour?
--
Milan Kn??ek | knizek.confy at gmail.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dovecot.conf
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180501/8ac90634/attachment.conf>
2017 May 05
3
CentOS 7 cloned VM cannot boot
...lution...
>
>
> Nick
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
what do you get when you boot the VM (I imagine with supergrub2 you
described) and run this
lspci
lspci -kn
in particular in respect with scsi devices ad kernel modules used
eg in a VM of mine under oVirt
[root at ractorshe ~]# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interfa...
2005 Nov 28
6
How define global Variable?
...l variable.
My example:
R> a <- "old"
R> test <- function () { a <- "new" }
R> test()
R> a # shoud be "new"
This doesn't work. I would like to modify the variable "a" in a
procedure. How can I do that.
Thank you for helping.
Sven Kn侟ppel (Germany-Berlin)
2019 Jul 03
2
Problem with libsmbclient notify
...r
message:
smb1cli_req_writev_submit: called for dialect[SMB3_11]
server[dc1.example.com]
It looks like libsmbclient is, for some reason, using SMB1 but needs
to be using SMB3_11.
Note that the following command (which, like my code, forces the use
of Kerberos) works just fine:
$ smbclient -kN //dc1.example.com/sysvol -c 'notify /'
See my proof-of-concept source code here:
https://gitlab.com/JonathonReinhart/libsmbclient-notify-test
Please let me know if I should proceed to open a bug.
Cheers,
Jonathon Reinhart
2002 Jan 16
2
exhaustive permutations
...be done simply using
sample(vector_x) to create each random permutation.
However, where sample sizes are small, it is more appropriate (I think)
to exhaustively calculate all possible permutations. This is equivalent
to determining all possible ways of assigning n samples to each of k
groups = (kn)!/[(n!)^k*k!]. As a relative beginner at programming, I
suspect that writing the code to determine (and list) these permutations
is far beyond me. I am wondering, therefore, whether anyone out there
has done somehting similar, or knows of any suitable routine to
calculate these permutations that...
2008 Dec 12
2
freebsd 7, panics - kqueue?
...dumps - for both dumps the current
process was imap, and the second one seemed to hint towards a problem with
kqueue but im not a c or kernel hacker:
http://www.freebsd.org/cgi/query-pr.cgi?pr=129550
--- snip of what i think is relevent from the dump ---
(kgdb) list *0xc04c4c4d
0xc04c4c4d is in knlist_remove_kq (/usr/src/sys/kern/kern_event.c:1615).
1610 if (!kqislocked)
1611 KASSERT((kn->kn_status & (KN_INFLUX|KN_DETACHED)) == KN_INFLUX,
1612 ("knlist_remove called w/o knote being KN_INFLUX or already removed"));
1613 if (!knlislocked)
1614 knl->kl_lock(knl->kl_lockar...
2005 Aug 02
1
Can't boot Syslinux from HD directly. Can indirect ly?
...> > > is installed (hda1), one normal FAT32 which has windows and dos
> > > (hda2.) It also has an extended partition containing an EXT2 and
> > > linux swap partition, however, it didn't originally have
> these when
> > > I first saw the problem so I know they aren't the issue.
> > >
> > > The issue is that for some reason it won't boot the harddrive
> > > directly. It just freezes every time. It shows the word
> SYSLINUX,
> > > the version (3.09) and date (2005-06-17) but stops there. Never
&g...
2013 Apr 10
0
Problem with ode
...4/n
return(J1)
}
J = sapply(DEPTH, J1) #the factor of light limitation
deltaz <- c(rep(5, NB - 1), 2.5)
P.Flux <- -D*diff(c(P,0))/deltaz
Z.Flux <- -D*diff(c(Z,0))/deltaz
N.Flux <- -D*diff(c(N,N0))/deltaz
dP.dt = P*um*N/(N+Kn)*J - Z*Im*P^2/(P^2+Kp^2) - diff(c(0,P.Flux))/delz
dZ.dt = Z*(eps*Im*P^2/(P^2+Kp^2) - g*Z) - diff(c(0,Z.Flux))/delz
dN.dt = -P*um*N/(N+Kn)*J + Z*(1-eps)*Im*P^2/(P^2+Kp^2) + g*Z^2
- diff(c(0,N.Flux))/delz
return(list(c(dP.dt, dZ.dt, dN.dt)))
})
}
params1 = c(um = 1,...
2004 Feb 11
6
lapply and dynamically linked functions
Hi all,
I'm trying to use lapply on a list with the following command:
out<-lapply(mylist,myfun,par1=p,par2=d) (1)
where
myfun<-function(x,par1,par1) {.....} (2)
now this function is in fact a wrapper for some Fortran code I have
written so I think this might be the problem. When I call lapply() as in
(1) I get the following message:
Error in get(x,
2005 Aug 02
5
Re: SYSLINUX Digest, Vol 29, Issue 2
Sure, I don't mind testing it out on there for you, but, where do I
find the pre releases to try then?
At least we know it's between 2.13 and 3.00. That narrows it a bit I
would think. Mind you, if it jumps up a major revision number, I
guess that means a lot of changes went in.
On 8/2/05, syslinux-request at zytor.com <syslinux-request at zytor.com> wrote:
> Send SYSLINUX mailing list submissions...
2018 May 01
0
v2.3.1: Event leaked (parent=(nil)): http-client.c:137 and 439
> On 01 May 2018 at 21:21 Milan Kn??ek <knizek.confy at gmail.com> wrote:
>
>
> Hi,
>
> After upgrade to dovecot 2.3.1, many IMAP clients cause errors in
> dovecot log:
>
> May 01 20:15:51 tiger dovecot[21985]: imap: Warning: Event
> 0x555fd3c01630 leaked (parent=(nil)): http-client.c:137
>...
2003 May 26
0
knots fixed in gam(), library(mgcv)
Dear all,
I have a problem with specifying the no. of knots in our function which
include gam(). I last worked with this in mid September but since then I
have reinstalled R and Simon Wood's library(mgcv), which he has changed
since then. The statistician (and good R-coder) with whom I co-operate is
now unfortunately overloaded with teaching, and I...
2007 Apr 24
1
Problem with length of array while calling C from R
Hello,
my problem is that I don't know how long must be an array of double while calling C from R.
R-Code:
> array <- c(1,1,1)
> save <- .C ( "Ctest" , a = array )
C-Code:
void Ctest ( double *array )
{ ...
array = (double*) realloc ( array , new_number * sizeof(double) ) ;
...
}
The length of "array&...