Displaying 6 results from an estimated 6 matches for "max_act".
Did you mean:
max_pct
2018 Feb 11
0
[PATCH 1/5] workqueue: Allow retrieval of current task's work struct
...nsertions(+)
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 4a54ef96aff5..bc0cda180c8b 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -465,6 +465,7 @@ extern bool cancel_delayed_work_sync(struct delayed_work *dwork);
extern void workqueue_set_max_active(struct workqueue_struct *wq,
int max_active);
+extern struct work_struct *current_work(void);
extern bool current_is_workqueue_rescuer(void);
extern bool workqueue_congested(int cpu, struct workqueue_struct *wq);
extern unsigned int work_busy(struct work_struct *work);
diff --git a/...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...esource_advance (resource);
if (!swfdec_sprite_get_action (movie->sprite, movie->next_action, &tag, &buffer))
break;
movie->next_action++;
- if (!swfdec_sprite_movie_perform_one_action (movie, tag, buffer, n > 1))
+ if (movie->next_action > movie->max_action) {
+ first_time = TRUE;
+ movie->max_action = movie->next_action;
+ } else {
+ first_time = FALSE;
+ }
+ if (!swfdec_sprite_movie_perform_one_action (movie, tag, buffer, n > 1, first_time))
n--;
}
/* now try to copy eventual movies */
@@ -532,6 +599,...
2014 May 02
2
When the subject portion of an e-mail contains a control character, dovecot.sieve terminates unexpectatedly.
...ck
mmap_disable = yes
passdb {
driver = passwd
}
plugin {
quota = maildir:User quota
sieve = ~/Maildir/dovecot.sieve
sieve_dir = ~/Maildir/sieve
sieve_editheader_max_header_size = 1k
sieve_editheader_protected = X-Verified
sieve_extensions = +editheader +spamtest +spamtestplus
sieve_max_actions = 250
sieve_max_redirects = 100
sieve_spamtest_max_value = 100.00
sieve_spamtest_status_header = X-Spam-Score: ([[:digit:]]+\.[[:digit:]]+)%
sieve_spamtest_status_type = score
sieve_user_log = /var/log/dovecot.sieve/%d/%u.log
}
postmaster_address = postmaster at example.jp
protocols =...
2007 Nov 09
0
10 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_loader.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie_clip_loader.c libswfdec/swfdec_movie.h
...oad? */
while (mov->list)
- swfdec_movie_destroy (mov->list->data);
+ swfdec_movie_remove (mov->list->data);
swfdec_as_object_clear_variables (SWFDEC_AS_OBJECT (movie));
movie->frame = (guint) -1;
movie->n_frames = 0;
movie->next_action = 0;
movie->max_action = 0;
movie->sprite = NULL;
+ swfdec_movie_queue_update (SWFDEC_MOVIE (movie), SWFDEC_MOVIE_INVALID_EXTENTS);
}
/**
commit 00706fc9836e93250e1e2471de5616167e427a77
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Nov 9 14:53:10 2007 +0100
implement UNLOAD request
diff...
2018 Feb 11
19
[PATCH 0/5] Fix deadlock on runtime suspend in DRM drivers
Fix a deadlock on hybrid graphics laptops that's been present since 2013:
DRM drivers poll connectors in 10 sec intervals. The poll worker is
stopped on ->runtime_suspend with cancel_delayed_work_sync(). However
the poll worker invokes the DRM drivers' ->detect callbacks, which call
pm_runtime_get_sync(). If the poll worker starts after runtime suspend
has begun,
2007 Nov 07
0
36 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h
...movie->frame = 0;
+ /* FIXME: destroy or unload? */
+ while (mov->list)
+ swfdec_movie_destroy (mov->list->data);
+ swfdec_as_object_clear_variables (SWFDEC_AS_OBJECT (movie));
+ movie->frame = (guint) -1;
movie->n_frames = 0;
movie->next_action = 0;
movie->max_action = 0;
commit de7aa11fe0bb50bf2dc0493e88d97195008425b8
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Nov 2 10:02:12 2007 +0100
add swfdec_as_object_clear_variables()
diff --git a/libswfdec/swfdec_as_object.c b/libswfdec/swfdec_as_object.c
index b90e915..877f6e4 100644
--- a/lib...